|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.visualize.data.client.ClientLabel
An immutable object intended for use as client data to provide custom label content, including text and an icon. Depending on the target native graphic, the text may include HTML tags, such as for multiple lines, fonts, and colors (see JLabel).
Constructor Summary | |
ClientLabel(java.lang.String text,
javax.swing.Icon icon)
Creates an instance, with the specified contents. |
Method Summary | |
javax.swing.Icon |
getIcon()
Gets the label icon. |
java.lang.String |
getText()
Gets the label text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientLabel(java.lang.String text, javax.swing.Icon icon)
text
- The text. Null if none.icon
- The icon. Null if none.Method Detail |
public java.lang.String getText()
public javax.swing.Icon getIcon()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |