public class TestEntry extends VizEntry
iComponentListener
Constructor and Description |
---|
TestEntry()
The default constructor.
|
TestEntry(java.lang.String name)
A constructor which appends a unique name onto each returned string, so
that different test entries can be easilty distinguished.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
This operation returns the current value of the Entry or the default
value if no other has been specified.
|
VizAllowedValueType |
getValueType()
This operation returns the type of value that is stored in the Entry.
|
void |
setDiscrete()
Set the entry's type to discrete.
|
void |
setSecret()
Set the entry's secret flag.
|
clone, copy, equals, getAllowedValues, getComment, getDefaultValue, getErrorMessage, getParent, getTag, hashCode, isModified, isReady, isRequired, isSecret, setComment, setContentProvider, setParent, setReady, setRequired, setTag, setValue, update
copy, getDescription, getId, getName, register, setDescription, setId, setName, unregister
getClass, notify, notifyAll, toString, wait, wait, wait
register, unregister
public TestEntry()
public TestEntry(java.lang.String name)
name
- public void setDiscrete()
public void setSecret()
public java.lang.String getValue()
VizEntry
public VizAllowedValueType getValueType()
VizEntry
This operation returns the type of value that is stored in the Entry.
A response type of AllowedValueType.Discrete means that the answer must be one of the values from getAllowedValues().
A response of AllowedValueTypes.Continuous means that the value must exist within the range of the maximum and minimum of the values from getAllowedValues().
A response of AllowedValueType.Undefined means that the response will not be checked.
A response of AllowedValueType.File means that the response will not be checked just like an Undefined type, but should only be used for values that represent actual files. File entries render differently in the UI.
Please note that the Entry class will check the validity of the values submitted to it and the information returned from this method is purely for information purposes (deciding how to draw the client, etc.).
getValueType
in class VizEntry