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, wait
getName, getValue
public 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()
ITextDisplayObject
getCaption
in interface ITextDisplayObject
public java.lang.String getName()
IDisplayObject
getName
in interface IDisplayObject
public java.lang.String getValue()
IDisplayObject
getValue
in interface IDisplayObject
public void setValue(java.lang.String theValue)
theValue
- The value to set for the display object.