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 protectedOffsetEtchedBorder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.InsetsgetBorderInsets(java.awt.Component c)Returns the insets of the border.java.awt.InsetsgetBorderInsets(java.awt.Component c, java.awt.Insets insets)Reinitialize the insets parameter with this Border's current Insets.voidpaintBorder(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:
 getBorderInsetsin interfacejavax.swing.border.Border- Overrides:
 getBorderInsetsin 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:
 getBorderInsetsin 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:
 paintBorderin interfacejavax.swing.border.Border- Overrides:
 paintBorderin classjavax.swing.border.EtchedBorder- See Also:
 Border.paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int)
 
 - 
 
 -