Class ComponentBorderedPanel.OffsetEtchedBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EtchedBorder
com.inductiveautomation.ignition.designer.gui.ComponentBorderedPanel.OffsetEtchedBorder
- All Implemented Interfaces:
Serializable,Border
- Enclosing class:
- ComponentBorderedPanel
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the insets of the border.getBorderInsets(Component c, Insets insets) Reinitialize the insets parameter with this Border's current Insets.voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) Methods inherited from class javax.swing.border.EtchedBorder
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaqueMethods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
OffsetEtchedBorder
protected OffsetEtchedBorder()
-
-
Method Details
-
getBorderInsets
Returns the insets of the border.- Specified by:
getBorderInsetsin interfaceBorder- Overrides:
getBorderInsetsin classAbstractBorder- Parameters:
c- the component for which this border insets value applies
-
getBorderInsets
Reinitialize the insets parameter with this Border's current Insets.- Overrides:
getBorderInsetsin classEtchedBorder- Parameters:
c- the component for which this border insets value appliesinsets- the object to be reinitialized
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classEtchedBorder- See Also:
-