Class ComponentBorderedPanel.OffsetEtchedBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EtchedBorder
-
- com.inductiveautomation.ignition.designer.gui.ComponentBorderedPanel.OffsetEtchedBorder
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
- Enclosing class:
- ComponentBorderedPanel
protected class ComponentBorderedPanel.OffsetEtchedBorder extends javax.swing.border.EtchedBorder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OffsetEtchedBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Insets
getBorderInsets(java.awt.Component c)
Returns the insets of the border.java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets insets)
Reinitialize the insets parameter with this Border's current Insets.void
paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
-
Methods inherited from class javax.swing.border.EtchedBorder
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque
-
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
Returns the insets of the border.- Specified by:
getBorderInsets
in interfacejavax.swing.border.Border
- Overrides:
getBorderInsets
in classjavax.swing.border.AbstractBorder
- Parameters:
c
- the component for which this border insets value applies
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
Reinitialize the insets parameter with this Border's current Insets.- Overrides:
getBorderInsets
in classjavax.swing.border.EtchedBorder
- Parameters:
c
- the component for which this border insets value appliesinsets
- the object to be reinitialized
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorder
in interfacejavax.swing.border.Border
- Overrides:
paintBorder
in classjavax.swing.border.EtchedBorder
- See Also:
Border.paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int)
-
-