|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
org.compiere.grid.ed.VLine
public class VLine
Horizontal Line with Text
| Field Summary | |
|---|---|
static int |
GAP
Gap between element |
static int |
SPACE
space for characters below line (y) |
| Constructor Summary | |
|---|---|
VLine()
IDE Bean Constructor |
|
VLine(String header)
Constructor |
|
VLine(String header,
Icon icon)
Constructor |
|
| Method Summary | |
|---|---|
String |
getHeader()
Get Header |
Icon |
getIcon()
Icon |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
Paint Border |
void |
setHeader(String newHeader)
Set Header |
void |
setIcon(Icon icon)
Set Icon |
| Methods inherited from class javax.swing.border.AbstractBorder |
|---|
getBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int GAP
public static final int SPACE
| Constructor Detail |
|---|
public VLine()
public VLine(String header)
header -
public VLine(String header,
Icon icon)
header - | Method Detail |
|---|
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
paintBorder in interface BorderpaintBorder in class AbstractBorderc - the component for which this border is being paintedg - the paint graphicsx - the x position of the painted bordery - the y position of the painted borderw - the width of the painted borderh - the height of the painted borderpublic void setHeader(String newHeader)
newHeader - String - '_' are replaced by spacespublic String getHeader()
public Icon getIcon()
public void setIcon(Icon icon)
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||