Package rma.swing.table
Class LinesBorder
java.lang.Object
javax.swing.border.AbstractBorder
rma.swing.table.LinesBorder
- All Implemented Interfaces:
Serializable,Border,SwingConstants
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected intprotected Colorprotected intprotected Colorprotected intprotected Colorprotected intFields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST -
Constructor Summary
ConstructorsConstructorDescriptionLinesBorder(Color color) LinesBorder(Color color, int thickness) LinesBorder(Color color, Insets insets) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidappend(LinesBorder b, boolean isReplace) getBorderInsets(Component c, Insets insets) booleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) voidvoidvoidsetThickness(int n) voidsetThickness(int n, int direction) voidsetThickness(Insets insets) Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
-
Field Details
-
northThickness
protected int northThickness -
southThickness
protected int southThickness -
eastThickness
protected int eastThickness -
westThickness
protected int westThickness -
northColor
-
southColor
-
eastColor
-
westColor
-
-
Constructor Details
-
LinesBorder
-
LinesBorder
-
LinesBorder
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder- Overrides:
getBorderInsetsin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classAbstractBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaquein interfaceBorder- Overrides:
isBorderOpaquein classAbstractBorder
-
setColor
-
setColor
-
setThickness
public void setThickness(int n) -
setThickness
-
setThickness
public void setThickness(int n, int direction) -
append
-
append
-