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 UnderlineBordergetBorderInsets(Component c, Insets insets) voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) voidstatic UnderlineBorderMethods 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:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder- Overrides:
getBorderInsetsin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classAbstractBorder
-