Package net.infonode.gui.border
Class EdgeBorder
java.lang.Object
net.infonode.gui.border.EdgeBorder
- All Implemented Interfaces:
Serializable,Border
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEdgeBorder(boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight) EdgeBorder(Color color, boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight) EdgeBorder(ColorProvider color) EdgeBorder(ColorProvider topLeftColor, ColorProvider bottomRightColor, boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
EdgeBorder
public EdgeBorder() -
EdgeBorder
public EdgeBorder(boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight) -
EdgeBorder
public EdgeBorder(Color color, boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight) -
EdgeBorder
-
EdgeBorder
public EdgeBorder(ColorProvider topLeftColor, ColorProvider bottomRightColor, boolean drawTop, boolean drawBottom, boolean drawLeft, boolean drawRight)
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaquein interfaceBorder
-