| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||
In the Swing component set, borders supercede Insets as the mechanism for creating a (decorated or plain) area around the edge of a component.
Usage Notes:
setInsets).
| Method Summary | |
| Insets | getBorderInsets(Component c)
|
| boolean | isBorderOpaque()
|
| void | paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
| Method Detail |
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
c
- the component for which this border is being painted
g
- the paint graphics
x
- the x position of the painted border
y
- the y position of the painted border
width
- the width of the painted border
height
- the height of the painted border
public Insets getBorderInsets(Component c)
c
- the component for which this border insets value applies
public boolean isBorderOpaque()
| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||