|
|||||||||
| Home >> All >> javax >> swing >> [ border overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.swing.border
Interface Border

- All Known Implementing Classes:
- AbstractBorder
- public interface Border
An public interface for decorative or spacing borders around a Component.
To reduce memory consumption, several Components may share a single Border instance. javax.swing.BorderFactory is a factory class for producing commonly used shared borders.
| Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Measures the width of this border. |
boolean |
isBorderOpaque()
Determines whether this border fills every pixel in its area when painting. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the border for a given component. |
| Method Detail |
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
- Paints the border for a given component.
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Measures the width of this border.
isBorderOpaque
public boolean isBorderOpaque()
- Determines whether this border fills every pixel in its area
when painting.
|
|||||||||
| Home >> All >> javax >> swing >> [ border overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC