org.colos.ejs.library.control.displayejs
Class ControlTextSet
java.lang.Object
org.colos.ejs.library.control.ControlElement
org.colos.ejs.library.control.swing.ControlDrawable
org.colos.ejs.library.control.displayejs.ControlDrawable3D
org.colos.ejs.library.control.displayejs.ControlElementSet
org.colos.ejs.library.control.displayejs.ControlTextSet
- All Implemented Interfaces:
- InteractionListener
public class ControlTextSet
- extends ControlElementSet
An interactive set of particles
Methods inherited from class org.colos.ejs.library.control.ControlElement |
acceptsChild, addAction, addAction, addAction, addMenuEntries, editorIsReading, flush, getComponent, getGroup, 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 |
ControlTextSet
public ControlTextSet()
getPropertyInfo
public java.lang.String getPropertyInfo(java.lang.String _property)
- Description copied from class:
ControlElement
- Returns information about a given property.
Subclasses that add properties should implement this.
Order in the implementation is irrelevant.
- The first keyword is ALWAYS the type. If more than one type is
accepted, they are separated by | (do NOT use spaces!)
- The keyword CONSTANT applies to properties that can not be
changed using the setValue() methods
- The keyword VARIABLE_EXPECTED is used when a String could be
accepted, but a variable has priority. In this case, a String requires
using inverted commas or quotes
- The keyword NotTrimmed specifies that leading or trailing
spaces must be respected when present. This is useful for labels or
titles, for instance
- The keywords PREVIOUS and POSTPROCESS indicate that,
when setting several properties at once (using setProperties()) the
property must be process before, resp. after, the others
- Overrides:
getPropertyInfo
in class ControlElementSet
setValue
public void setValue(int _index,
Value _value)
- Description copied from class:
ControlElement
- Sets the value of the registered variables.
Subclasses with internal values should extend this
Order is crucial here: it must match exactly that of the getPropertyList()
method.
- Overrides:
setValue
in class ControlElementSet
setDefaultValue
public void setDefaultValue(int _index)
- Overrides:
setDefaultValue
in class ControlElementSet
getDefaultValueString
public java.lang.String getDefaultValueString(int _index)
- Overrides:
getDefaultValueString
in class ControlElementSet