|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.border.AbstractBorder
de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder
de.uni_paderborn.fujaba.fsa.swing.border.TextBorder
No comment provided by developer, please add a comment to improve documentation.
Field Summary | |
private java.awt.Font |
font
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.String |
text
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder |
|
Constructor Summary | |
TextBorder(java.awt.Color aColor)
Constructor for class TextBorder |
|
TextBorder(java.awt.Color aColor,
java.lang.String txt)
Constructor for class TextBorder |
Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Get the borderInsets attribute of the TextBorder object |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Get the borderInsets attribute of the TextBorder object |
java.awt.Font |
getFont()
Get the font attribute of the TextBorder object |
java.lang.String |
getText()
Get the text attribute of the TextBorder object |
boolean |
isBorderOpaque()
Get the borderOpaque attribute of the TextBorder object |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
This method draws the Border for Set objects. |
void |
setFont(java.awt.Font f)
Sets the font attribute of the TextBorder object |
void |
setText(java.lang.String txt)
Sets the text attribute of the TextBorder object |
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder |
getBorderColor, setBorderColor |
Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String text
private java.awt.Font font
Constructor Detail |
public TextBorder(java.awt.Color aColor)
aColor
- No description providedpublic TextBorder(java.awt.Color aColor, java.lang.String txt)
aColor
- No description providedtxt
- No description providedMethod Detail |
public void setText(java.lang.String txt)
txt
- The new text valuepublic java.lang.String getText()
public java.awt.Insets getBorderInsets(java.awt.Component c)
c
- No description provided
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
c
- No description providedinsets
- No description provided
public boolean isBorderOpaque()
public java.awt.Font getFont()
public void setFont(java.awt.Font f)
f
- The new font valuepublic void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
c
- No description providedg
- No description providedx
- No description providedy
- No description providedwidth
- No description providedheight
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |