public class EditorBorder
extends javax.swing.border.TitledBorder
implements javax.swing.event.ChangeListener
Modifier and Type | Field and Description |
---|---|
static java.awt.Font |
FIELD_BORDER_FONT |
static java.awt.Font |
FIELD_BORDER_FONT_CHANGED |
static java.awt.Color |
FIELD_BORDER_FONT_COLOR |
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 and Description |
---|
EditorBorder(java.lang.String title) |
EditorBorder(java.lang.String titleKey,
AbstractTagPropEditor... editors) |
Modifier and Type | Method and 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) |
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
public static final java.awt.Font FIELD_BORDER_FONT
public static final java.awt.Color FIELD_BORDER_FONT_COLOR
public static final java.awt.Font FIELD_BORDER_FONT_CHANGED
public EditorBorder(java.lang.String title)
public EditorBorder(java.lang.String titleKey, AbstractTagPropEditor... editors)
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.TitledBorder
protected void repaint()