public class IdeaTitledBorder
extends 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 and Description |
---|
IdeaTitledBorder(java.lang.String title,
int indent,
java.awt.Insets insets) |
Modifier and Type | Method and Description |
---|---|
void |
acceptMinimumSize(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets) |
java.awt.Dimension |
getMinimumSize(java.awt.Component c) |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
IdeaTitledBorder |
setShowLine(boolean showLine) |
void |
setTitle(java.lang.String title) |
getBaseline, getBaselineResizeBehavior, getBorder, getFont, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
public IdeaTitledBorder(java.lang.String title, int indent, java.awt.Insets insets)
public void setTitle(java.lang.String title)
setTitle
in class javax.swing.border.TitledBorder
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
public IdeaTitledBorder setShowLine(boolean showLine)
public void acceptMinimumSize(java.awt.Component c)
public java.awt.Dimension getMinimumSize(java.awt.Component c)
getMinimumSize
in class javax.swing.border.TitledBorder
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
getBorderInsets
in class javax.swing.border.TitledBorder