|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--harmonic.mz.data.ModelNode
|
+--harmonic.mz.data.fields.IntField
|
+--harmonic.mz.data.fields.ExclusiveIntField
This is the integer choice data field. It creates an ExclusiveIntEntry to control it. The value of this field stores a choice of a few possible values by the user, where each is presented as a string, in other words, the result of a choice box.
| Field Summary |
| Fields inherited from class harmonic.mz.data.fields.IntField |
max, min, widgetType |
| Fields inherited from class harmonic.mz.data.ModelNode |
_fileRoot_, _thread_, ATTRIB_CONTROL_WIDGET, ATTRIB_LISTABLE, ATTRIB_PRESENTABLE, ATTRIB_PRIVATE, ATTRIB_REMOVEABLE, ATTRIB_RENAMEABLE, ATTRIB_SHOW_CONTEXT_MENU, ATTRIB_TYPE_FILTER, ATTRIB_USERGROUP, ATTRIB_VALUE_GROUP, ATTRIB_VE_LISTENER, bCustomCS, bDebug, bValid, name |
| Constructor Summary | |
ExclusiveIntField()
Constructs an ExclusiveIntField |
|
ExclusiveIntField(int value)
Constructs an ExclusiveIntField |
|
ExclusiveIntField(java.lang.String name,
int value)
Constructs an ExclusiveIntField |
|
ExclusiveIntField(java.lang.String name,
NodeListener listener,
int value)
Constructs an ExclusiveIntField |
|
ExclusiveIntField(java.lang.String name,
java.lang.Object listener,
java.lang.String callback,
int value)
Constructs an ExclusiveIntField |
|
| Method Summary | |
void |
addItem(java.lang.String name,
int value)
Adds an option |
java.awt.Component |
createControlWidget()
Implements abstract control widget creator by returning an ExclusiveIntEntry |
ModelNode |
createCopy()
Overrideable function to create and return a copy of this node Default version uses introspection to create a new copy using the newInstance() function, which requires a no argument public constructor. |
java.lang.String |
getCurrentOption()
|
java.lang.String |
getTypeName()
|
java.lang.String[] |
optionNames()
|
int[] |
options()
|
java.lang.String |
pythonString()
String for represention in python. |
| Methods inherited from class harmonic.mz.data.fields.IntField |
assignFromXMLString, assignToXMLString, debugString, getInt, getInterpolater, getValue, initControlWidget, interpolate_Linear, interpolate_Quadratic, set, setInt, setScrollRange, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExclusiveIntField()
public ExclusiveIntField(int value)
value - Value of field
public ExclusiveIntField(java.lang.String name,
int value)
name - Name of fieldvalue - Value of field
public ExclusiveIntField(java.lang.String name,
NodeListener listener,
int value)
name - Name of fieldlistener - Listener to updatevalue - Value of field
public ExclusiveIntField(java.lang.String name,
java.lang.Object listener,
java.lang.String callback,
int value)
name - Name of fieldlistener - Listener to updatecallback - Listeners callback functionvalue - Value of field| Method Detail |
public java.lang.String getTypeName()
getTypeName in class IntFieldpublic java.lang.String getCurrentOption()
public int[] options()
public java.lang.String[] optionNames()
public ModelNode createCopy()
ModelNode
createCopy in class IntFieldpublic java.awt.Component createControlWidget()
createControlWidget in class IntField
public void addItem(java.lang.String name,
int value)
public java.lang.String pythonString()
ModelNode
pythonString in class IntField
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||