org.colos.ejs.library.control.drawing3d
Class ControlGroup3D

java.lang.Object
  extended by org.colos.ejs.library.control.ControlElement
      extended by org.colos.ejs.library.control.drawing3d.ControlElement3D
          extended by org.colos.ejs.library.control.drawing3d.ControlGroup3D
All Implemented Interfaces:
ControlParentOfElement3D, NeedsPreUpdate, InteractionListener

public class ControlGroup3D
extends ControlElement3D
implements NeedsPreUpdate, ControlParentOfElement3D

Abstract superclass for display3d Elements (children of ControlElements3DParent)


Field Summary
 
Fields inherited from class org.colos.ejs.library.control.drawing3d.ControlElement3D
EL3D_NAME, NULL_COLOR, PARENT, TO_RADIANS
 
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
ControlGroup3D()
           
 
Method Summary
 boolean acceptsChild(ControlElement _child)
          Whether this element can have children of the given type
 void addElement(Element _element)
           
 void addToPreupdateList(NeedsPreUpdate _child)
           
 DrawingPanel3D getDrawingPanel3D()
           
 java.lang.String getObjectClassname()
          Returns the expected class of the object that the ControlElement wrapps.
 void preupdate()
           
 void removeElement(Element _element)
           
 void removeFromPreupdateList(NeedsPreUpdate _child)
           
 
Methods inherited from class org.colos.ejs.library.control.drawing3d.ControlElement3D
decodeResolution, destroy, getDefaultValueString, getElement, getFullPositionSpot, getFullSizeSpot, getMenuNameEntry, getObject, getParent, getPosSpot, getPropertyCommonName, getPropertyInfo, getPropertyList, getSizeSpot, getValue, interactionPerformed, parseConstant, setDefaultValue, setParent, setValue, updatePanel
 
Methods inherited from class org.colos.ejs.library.control.ControlElement
addAction, addAction, addAction, addMenuEntries, editorIsReading, flush, getComponent, getGroup, getObject, 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

ControlGroup3D

public ControlGroup3D()
Method Detail

getObjectClassname

public java.lang.String getObjectClassname()
Description copied from class: ControlElement
Returns the expected class of the object that the ControlElement wrapps. Not final because of special needs (see display3d.DrawingPanel3D, f.i.)

Specified by:
getObjectClassname in class ControlElement3D
Returns:
Object

acceptsChild

public boolean acceptsChild(ControlElement _child)
Description copied from class: ControlElement
Whether this element can have children of the given type

Overrides:
acceptsChild in class ControlElement3D
Parameters:
_child - ControlElement
Returns:
boolean

preupdate

public void preupdate()
Specified by:
preupdate in interface NeedsPreUpdate

addToPreupdateList

public void addToPreupdateList(NeedsPreUpdate _child)
Specified by:
addToPreupdateList in interface ControlParentOfElement3D

removeFromPreupdateList

public void removeFromPreupdateList(NeedsPreUpdate _child)
Specified by:
removeFromPreupdateList in interface ControlParentOfElement3D

addElement

public void addElement(Element _element)
Specified by:
addElement in interface ControlParentOfElement3D

removeElement

public void removeElement(Element _element)
Specified by:
removeElement in interface ControlParentOfElement3D

getDrawingPanel3D

public DrawingPanel3D getDrawingPanel3D()
Specified by:
getDrawingPanel3D in interface ControlParentOfElement3D