|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gumbo.graphic.content.AbstractLabelGraphic
An non-native graphic implementation of LabelGraphic, with state being maintained by this object, not some native graphic.
| Constructor Summary | |
AbstractLabelGraphic()
|
|
| Method Summary | |
java.lang.Object |
getGraphic()
Default implementation: returns this object. |
javax.swing.Icon |
getIcon()
Gets the label text. |
java.lang.String |
getText()
Gets the label text. |
void |
setIcon(javax.swing.Icon icon)
Sets the label icon. |
void |
setText(java.lang.String text)
Sets the label text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractLabelGraphic()
| Method Detail |
public void setText(java.lang.String text)
LabelGraphic
setText in interface LabelGraphictext - The new text. None if null.public java.lang.String getText()
LabelGraphic
getText in interface LabelGraphicpublic void setIcon(javax.swing.Icon icon)
LabelGraphic
setIcon in interface LabelGraphicicon - The new icon. None if null.public javax.swing.Icon getIcon()
LabelGraphic
getIcon in interface LabelGraphicpublic java.lang.Object getGraphic()
getGraphic in interface Graphic
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||