swingwtx.swing.border
Class AbstractBorder
java.lang.Object
swingwtx.swing.border.AbstractBorder
- All Implemented Interfaces:
- Border
- Direct Known Subclasses:
- BevelBorder, CompoundBorder, EmptyBorder, EtchedBorder, LineBorder, MatteBorder, TitledBorder
- public abstract class AbstractBorder
- extends java.lang.Object
- implements Border
|
Method Summary |
Insets |
getBorderInsets(Component c)
|
Insets |
getBorderInsets(Component c,
Insets insets)
|
static Rectangle |
getInteriorRectangle(Component c,
Border b,
int x,
int y,
int width,
int height)
|
Rectangle |
getInteriorRectangle(Component c,
int x,
int y,
int width,
int height)
|
boolean |
isBorderOpaque()
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBorder
public AbstractBorder()
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface Border
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets in interface Border
getBorderInsets
public Insets getBorderInsets(Component c,
Insets insets)
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque in interface Border
getInteriorRectangle
public Rectangle getInteriorRectangle(Component c,
int x,
int y,
int width,
int height)
getInteriorRectangle
public static Rectangle getInteriorRectangle(Component c,
Border b,
int x,
int y,
int width,
int height)