|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswingwtx.swing.border.AbstractBorder
swingwtx.swing.border.TitledBorder
Field Summary | |
static int |
ABOVE_BOTTOM
|
static int |
ABOVE_TOP
|
static int |
BELOW_BOTTOM
|
static int |
BELOW_TOP
|
protected Border |
border
|
static int |
BOTTOM
|
static int |
CENTER
|
protected Color |
color
|
static int |
DEFAULT_JUSTIFICATION
|
static int |
DEFAULT_POSITION
|
protected Font |
font
|
static int |
LEADING
|
static int |
LEFT
|
static int |
RIGHT
|
protected java.lang.String |
title
|
static int |
TOP
|
static int |
TRAILING
|
Constructor Summary | |
TitledBorder(Border border)
|
|
TitledBorder(Border border,
java.lang.String title)
|
|
TitledBorder(Border border,
java.lang.String title,
int titleJustification,
int titlePosition)
|
|
TitledBorder(Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
Font titleFont)
|
|
TitledBorder(Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
|
|
TitledBorder(java.lang.String title)
|
Method Summary | |
Border |
getBorder()
Getter for property border. |
Insets |
getBorderInsets(Component c)
|
Insets |
getBorderInsets(Component c,
Insets insets)
|
Color |
getColor()
Getter for property color. |
Font |
getFont()
Getter for property font. |
java.lang.String |
getTitle()
Getter for property title. |
int |
getTitleJustification()
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
void |
setBorder(Border border)
Setter for property border. |
void |
setColor(Color color)
Setter for property color. |
void |
setFont(Font font)
Setter for property font. |
void |
setTitle(java.lang.String title)
Setter for property title. |
void |
setTitleJustification(int titleJustification)
|
Methods inherited from class swingwtx.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface swingwtx.swing.border.Border |
isBorderOpaque |
Field Detail |
public static final int DEFAULT_POSITION
public static final int ABOVE_TOP
public static final int TOP
public static final int BELOW_TOP
public static final int ABOVE_BOTTOM
public static final int BOTTOM
public static final int BELOW_BOTTOM
public static final int DEFAULT_JUSTIFICATION
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int LEADING
public static final int TRAILING
protected java.lang.String title
protected Font font
protected Color color
protected Border border
Constructor Detail |
public TitledBorder(java.lang.String title)
public TitledBorder(Border border)
public TitledBorder(Border border, java.lang.String title)
public TitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition)
public TitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition, Font titleFont)
public TitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
Method Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- New value of property title.public Font getFont()
public void setFont(Font font)
font
- New value of property font.public Color getColor()
public void setColor(Color color)
color
- New value of property color.public Border getBorder()
public void setBorder(Border border)
border
- New value of property border.public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class AbstractBorder
public void setTitleJustification(int titleJustification)
public int getTitleJustification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |