|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.Component
pivot.wtk.Label
public class Label
Component that displays a string of text.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class pivot.wtk.Component |
---|
Component.Attributes, Component.ComponentDictionary, Component.DecoratorSequence, Component.StyleDictionary |
Constructor Summary | |
---|---|
Label()
|
|
Label(java.lang.String text)
|
Method Summary | |
---|---|
ListenerList<LabelListener> |
getLabelListeners()
|
java.lang.String |
getText()
|
java.lang.String |
getTextKey()
Returns the label's text key. |
void |
load(Dictionary<java.lang.String,?> context)
Copies bound values from the bind context to the component. |
void |
setText(java.lang.String text)
|
void |
setTextKey(java.lang.String textKey)
Sets the label's text key. |
void |
store(Dictionary<java.lang.String,?> context)
Copies bound values from the component to the bind context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Label()
public Label(java.lang.String text)
Method Detail |
---|
public java.lang.String getText()
public void setText(java.lang.String text)
public java.lang.String getTextKey()
public void setTextKey(java.lang.String textKey)
textKey
- The text key, or null to clear the binding.public void load(Dictionary<java.lang.String,?> context)
Component
load
in class Component
public void store(Dictionary<java.lang.String,?> context)
Component
store
in class Component
public ListenerList<LabelListener> getLabelListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |