Class UnderlineBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.inductiveautomation.ignition.designer.gui.border.UnderlineBorder
- All Implemented Interfaces:
Serializable
,Border
- Direct Known Subclasses:
UnderlineBorder
Underline border that is best used for JLabels. It will underline the text of the component while
ignoring the icon element. This can be used for any component really, but the results may be undesirable.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnderlineBorder
getBorderInsets
(Component c, Insets insets) void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) void
static UnderlineBorder
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
DASHED
protected static final int DASHED- See Also:
-
WAVY
protected static final int WAVY- See Also:
-
-
Constructor Details
-
UnderlineBorder
-
-
Method Details
-
wavy
-
dashed
-
setColor
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classAbstractBorder
-