public class TextDisplayObject extends java.lang.Object implements ITextDisplayObject
| Constructor and Description |
|---|
TextDisplayObject(java.lang.String theCaption,
java.lang.String theName)
Create a text display object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption()
Returns the caption for this display object.
|
java.lang.String |
getName()
Returns the name of the display object.
|
java.lang.String |
getValue()
Returns the value that is currently set.
|
void |
setValue(java.lang.String theValue)
Sets the value for a display object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValuepublic TextDisplayObject(java.lang.String theCaption,
java.lang.String theName)
theCaption - The label for the display object.theName - The name of the display object.public java.lang.String getCaption()
ITextDisplayObjectgetCaption in interface ITextDisplayObjectpublic java.lang.String getName()
IDisplayObjectgetName in interface IDisplayObjectpublic java.lang.String getValue()
IDisplayObjectgetValue in interface IDisplayObjectpublic void setValue(java.lang.String theValue)
theValue - The value to set for the display object.