|
||||||||||
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.ControlDataRaster
public class ControlDataRaster
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 | |
---|---|
ControlDataRaster()
|
Method Summary | |
---|---|
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. |
void |
initialize()
initializes the element. |
void |
reset()
resets the element |
void |
setDefaultValue(int _index)
|
void |
setParent(ControlParentOfDrawables _dp)
|
ControlElement |
setProperty(java.lang.String _property,
java.lang.String _value)
Sets a property for this ControlElement . |
void |
setValue(int _index,
Value _value)
Sets the value of the registered variables. |
Methods inherited from class org.colos.ejs.library.control.drawables.ControlDrawable2D |
---|
getPropertyCommonName, parseConstant |
Methods inherited from class org.colos.ejs.library.control.swing.ControlDrawable |
---|
destroy, getDrawable, getMenuNameEntry, getParent, replaceDrawable |
Methods inherited from class org.colos.ejs.library.control.ControlElement |
---|
acceptsChild, addAction, addAction, addAction, addMenuEntries, editorIsReading, flush, getComponent, getGroup, getObject, getObject, getObjectClassname, getProperty, getSimulation, getValue, getVisual, implementsProperty, indexOf, invokeActions, invokeActions, isActive, onExit, propertyIndex, propertyIsTypeOf, propertyType, removeAction, removeAction, replaceVisual, setActive, setFieldListValue, setFieldListValues, setGroup, setProperties, 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 ControlDataRaster()
Method Detail |
---|
public void initialize()
ControlElement
initialize
in class ControlElement
public void reset()
ControlElement
reset
in class ControlElement
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 ControlElement setProperty(java.lang.String _property, java.lang.String _value)
ControlElement
ControlElement
. Implementing
classes are responsible of deciding (by declaring them in the
getPropertyList() method) what properties turn into visual
changes, or different behaviour, of the ControlElement.
However, every propery is accepted, even if it is not meaningful for a particular implementation of this interface. This can serve as a repository of information for future use.
Implementing classes should make sure that the following
requirements are met:
setProperty
in class ControlElement
setProperty
EjsControl
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |