public class ReadOnlyDisplayObject extends TextDisplayObject implements IReadOnlyDisplayObject
| Constructor and Description |
|---|
ReadOnlyDisplayObject(java.lang.String theCaption,
java.lang.String theName,
java.lang.String theValue)
Create a read-only display object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getCaptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCaptiongetName, getValuepublic ReadOnlyDisplayObject(java.lang.String theCaption,
java.lang.String theName,
java.lang.String theValue)
theCaption - The label for the read-only display object.theName - The name of the read-only display object.theValue - The value to display.public 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.