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.void
paintBorder
(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, isBorderOpaque
Methods 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:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
- Parameters:
c
- the component for which this border insets value applies
-
getBorderInsets
Reinitialize the insets parameter with this Border's current Insets.- Overrides:
getBorderInsets
in classEtchedBorder
- Parameters:
c
- the component for which this border insets value appliesinsets
- the object to be reinitialized
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classEtchedBorder
- See Also:
-