|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.colos.ejs.library.control.ControlElement org.colos.ejs.library.control.swing.ControlDrawable org.colos.ejs.library.control.drawables.ControlDrawable2D org.colos.ejs.library.control.drawables.ControlComplexScalarField
public class ControlComplexScalarField
Field Summary |
---|
Fields inherited from class org.colos.ejs.library.control.swing.ControlDrawable |
---|
DRAWABLE_NAME, PARENT |
Fields inherited from class org.colos.ejs.library.control.ControlElement |
---|
ACTION, ACTION_ERROR, ACTION_SUCCESS, METHOD_FOR_VARIABLE, METHOD_TRIGGER, NAME, VARIABLE_CHANGED |
Constructor Summary | |
---|---|
ControlComplexScalarField()
|
Method Summary | |
---|---|
void |
addMenuEntries()
This is a place holder for elements to add menu entries to a simulation |
void |
commonPreupdate()
|
void |
destroy()
Clears any trace of myself (specially in the group) |
java.lang.String |
getDefaultValueString(int _index)
|
java.lang.String |
getPropertyInfo(java.lang.String _property)
Returns information about a given property. |
java.util.List<java.lang.String> |
getPropertyList()
Returns the list of all properties that can be set for this ControlElement. |
Value |
getValue(int _index)
Gets the value of any internal variable. |
Value |
parseConstant(java.lang.String _propertyType,
java.lang.String _value)
Checks if a value can be considered a valid constant value for a property If not, it returns null, meaning the value can be considered to be a GroupVariable |
void |
preupdate()
|
void |
setData(double[][][] vals)
Sets the complex field's values. |
void |
setDefaultValue(int _index)
|
void |
setParent(ControlParentOfDrawables _dp)
|
void |
setValue(int _index,
Value _value)
Sets the value of the registered variables. |
void |
showDataTable(boolean show)
|
Methods inherited from class org.colos.ejs.library.control.drawables.ControlDrawable2D |
---|
getPropertyCommonName |
Methods inherited from class org.colos.ejs.library.control.swing.ControlDrawable |
---|
getDrawable, getMenuNameEntry, getParent, replaceDrawable |
Methods inherited from class org.colos.ejs.library.control.ControlElement |
---|
acceptsChild, addAction, addAction, addAction, editorIsReading, flush, getComponent, getGroup, getObject, getObject, getObjectClassname, getProperty, getSimulation, getValue, getVisual, implementsProperty, indexOf, initialize, invokeActions, invokeActions, isActive, onExit, propertyIndex, propertyIsTypeOf, propertyType, removeAction, removeAction, replaceVisual, reset, setActive, setFieldListValue, setFieldListValues, setGroup, setProperties, setProperty, setProperty, setPropertyEditor, setVariableEditor, toString, toStringValue, variableChanged, variableChangedDoNotUpdate, variableExtraChanged, variablePropertiesClear, variablesChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ControlComplexScalarField()
Method Detail |
---|
public void setParent(ControlParentOfDrawables _dp)
setParent
in class ControlDrawable
public java.util.List<java.lang.String> getPropertyList()
ControlElement
getPropertyList
in class ControlDrawable
public java.lang.String getPropertyInfo(java.lang.String _property)
ControlElement
getPropertyInfo
in class ControlDrawable
public Value parseConstant(java.lang.String _propertyType, java.lang.String _value)
ControlElement
parseConstant
in class ControlDrawable2D
public void setValue(int _index, Value _value)
ControlElement
setValue
in class ControlDrawable
public void setDefaultValue(int _index)
setDefaultValue
in class ControlDrawable
public java.lang.String getDefaultValueString(int _index)
getDefaultValueString
in class ControlDrawable
public Value getValue(int _index)
ControlElement
getValue
in class ControlDrawable
public void destroy()
ControlElement
destroy
in class ControlDrawable
public void preupdate()
preupdate
in interface NeedsPreUpdate
public void commonPreupdate()
public void setData(double[][][] vals)
vals
- double[][][] complex field valuespublic void addMenuEntries()
ControlElement
addMenuEntries
in class ControlElement
public void showDataTable(boolean show)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |