com.fruitioninc.jwc
Class Label

java.lang.Object
  |
  +--com.fruitioninc.jwc.Component
        |
        +--com.fruitioninc.jwc.Label

public class Label
extends Component

A display area for a short text string. TODO: add support for images.


Field Summary
 
Fields inherited from class com.fruitioninc.jwc.Component
NAME_DELIMITER
 
Constructor Summary
Label()
           
Label(java.lang.String text)
           
Label(java.lang.String name, java.lang.String text)
           
 
Method Summary
 LabelModel getLabelModel()
           
 java.lang.String getText()
           
 void setText(java.lang.String text)
           
 
Methods inherited from class com.fruitioninc.jwc.Component
addComponentListener, addMouseListener, fireComponentSerialize, fireMouseClicked, getApplication, getComponentListenerCount, getComponentListeners, getContainer, getModel, getMouseListenerCount, getMouseListeners, getName, getPathName, getView, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()

Label

public Label(java.lang.String text)

Label

public Label(java.lang.String name,
             java.lang.String text)
Method Detail

getLabelModel

public LabelModel getLabelModel()

getText

public java.lang.String getText()

setText

public void setText(java.lang.String text)