public interface IDatapoolSuggestedType
TYPE_ENUMERATION allows the editor to use an
editable combobox for manually changing a value rather then requiring
the user to get the spelling correct for each value in the available
value set.| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_BOOLEAN
The type of a boolean value.
|
static int |
TYPE_COMPLEX
The type specification for a complex object, must be a serializable class.
|
static int |
TYPE_ENUMERATION
The type of an enumeration type value.
|
static int |
TYPE_NUMBER
The type of a scalar value.
|
static int |
TYPE_STRING
The type of a simple
String object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getEnumerationLiterals()
The set of enumerations literals associated with a
enumeration type. |
java.lang.String |
getSuggestedClassName()
The value class name associated with a variable.
|
int |
getSuggestedType()
One of the predefined type formats:
TYPE_STRING
TYPE_NUMBER
TYPE_BOOLEAN
TYPE_ENUMERATION
TYPE_COMPLEX
|
static final int TYPE_STRING
String object.static final int TYPE_NUMBER
static final int TYPE_BOOLEAN
static final int TYPE_ENUMERATION
static final int TYPE_COMPLEX
int getSuggestedType()
TYPE_STRING,
TYPE_NUMBER,
TYPE_BOOLEAN,
TYPE_ENUMERATION,
TYPE_COMPLEXjava.lang.String[] getEnumerationLiterals()
enumeration type. If the
type is not set to
enumeration type then an
appropriate DatapoolException is thrown.enumeration type.TYPE_ENUMERATIONjava.lang.String getSuggestedClassName()