|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LabeledBorders have a text message somewhere on them. The Font for the text can be set. LabeledBorders should not change their Insets when the label changes, therefore, Figures using this Border should repaint() when updating the label, and revalidate() when changing the Font.
Method Summary | |
String |
getLabel()
Returns the label for this Border. |
void |
setFont(Font f)
Sets the Font for the label. |
void |
setLabel(String l)
Sets the text to be displayed as the label for this Border. |
Methods inherited from interface org.eclipse.draw2d.Border |
getInsets, getPreferredSize, isOpaque, paint |
Method Detail |
public String getLabel()
public void setFont(Font f)
f
- The Font to be setpublic void setLabel(String l)
l
- The text
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |