Package se.datadosen.component
Class CurvedLineBorder
java.lang.Object
se.datadosen.component.CurvedLineBorder
- All Implemented Interfaces:
Border
-
Constructor Summary
ConstructorDescriptionCurvedLineBorder
(Color lineColor) CurvedLineBorder
(Color lineColor, Color backgroundColor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
paintBorder
(Component c, Graphics gg, int x, int y, int w, int h) void
setBackgroundColor
(Color backgroundColor)
-
Constructor Details
-
CurvedLineBorder
public CurvedLineBorder() -
CurvedLineBorder
-
CurvedLineBorder
-
-
Method Details
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-
getBackgroundColor
-
setBackgroundColor
-