Class EditorBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.TitledBorder
-
- com.inductiveautomation.ignition.designer.sqltags.editor.borders.EditorBorder
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,javax.swing.border.Border
,javax.swing.event.ChangeListener
public class EditorBorder extends javax.swing.border.TitledBorder implements javax.swing.event.ChangeListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Font
FIELD_BORDER_FONT
static java.awt.Font
FIELD_BORDER_FONT_CHANGED
static java.awt.Color
FIELD_BORDER_FONT_COLOR
-
Fields inherited from class javax.swing.border.TitledBorder
ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, border, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, EDGE_SPACING, LEADING, LEFT, RIGHT, TEXT_INSET_H, TEXT_SPACING, title, titleColor, titleFont, titleJustification, titlePosition, TOP, TRAILING
-
-
Constructor Summary
Constructors Constructor Description EditorBorder(java.lang.String title)
EditorBorder(java.lang.String titleKey, AbstractTagPropEditor... editors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
protected void
repaint()
void
stateChanged(javax.swing.event.ChangeEvent e)
-
Methods inherited from class javax.swing.border.TitledBorder
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
-
-
-
-
Constructor Detail
-
EditorBorder
public EditorBorder(java.lang.String title)
-
EditorBorder
public EditorBorder(java.lang.String titleKey, AbstractTagPropEditor... editors)
-
-
Method Detail
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
-
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.TitledBorder
-
repaint
protected void repaint()
-
-