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 TypeMethodDescriptionboolean
void
paintBorder
(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:
paintBorder
in interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-