org.colos.ejs.library.control.drawables
Class ControlDrawable2D

java.lang.Object
  extended by org.colos.ejs.library.control.ControlElement
      extended by org.colos.ejs.library.control.swing.ControlDrawable
          extended by org.colos.ejs.library.control.drawables.ControlDrawable2D
Direct Known Subclasses:
ControlBinaryLattice, ControlByteImage, ControlByteRaster, ControlCellLattice, ControlComplexScalarField, ControlContourPlot, ControlDataRaster, ControlGridPlot, ControlInterpolatedPlot, ControlScalarField, ControlSiteLattice, ControlSurfacePlot, ControlTriangularBinaryLattice, ControlTriangularByteLattice

public abstract class ControlDrawable2D
extends ControlDrawable


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
ControlDrawable2D()
           
 
Method Summary
 java.lang.String getPropertyCommonName(java.lang.String _property)
          This is used by Ejs to obtain an alias for the property name in order to search for this alias in a common file of easily translatable entries used in the tables of properties for an element.
 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
 
Methods inherited from class org.colos.ejs.library.control.swing.ControlDrawable
destroy, getDefaultValueString, getDrawable, getMenuNameEntry, getParent, getPropertyInfo, getPropertyList, getValue, replaceDrawable, setDefaultValue, setParent, setValue
 
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, 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

ControlDrawable2D

public ControlDrawable2D()
Method Detail

parseConstant

public Value parseConstant(java.lang.String _propertyType,
                           java.lang.String _value)
Description copied from class: ControlElement
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

Overrides:
parseConstant in class ControlElement

getPropertyCommonName

public java.lang.String getPropertyCommonName(java.lang.String _property)
Description copied from class: ControlElement
This is used by Ejs to obtain an alias for the property name in order to search for this alias in a common file of easily translatable entries used in the tables of properties for an element.

Overrides:
getPropertyCommonName in class ControlElement
Parameters:
_property - String
Returns:
String