org.colos.ejs.library.control.drawing2d
Class ControlGroup2D
java.lang.Object
org.colos.ejs.library.control.ControlElement
org.colos.ejs.library.control.swing.ControlDrawable
org.colos.ejs.library.control.drawing2d.ControlElement2D
org.colos.ejs.library.control.drawing2d.ControlGroup2D
- All Implemented Interfaces:
- ControlParentOfDrawables, NeedsPreUpdate, InteractionListener
public class ControlGroup2D
- extends ControlElement2D
- implements NeedsPreUpdate, ControlParentOfDrawables
A group 2d
Methods inherited from class org.colos.ejs.library.control.drawing2d.ControlElement2D |
createAffineTransform, decodeAffineTransform, getDefaultValueString, getElement, getFullPositionSpot, getFullSizeSpot, getObject, getPosSpot, getPropertyCommonName, getPropertyInfo, getPropertyList, getSizeSpot, getValue, interactionPerformed, parseConstant, setDefaultValue, setValue |
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 |
ControlGroup2D
public ControlGroup2D()
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 ControlElement2D
- 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 ControlElement
- Parameters:
_child
- ControlElement
- Returns:
- boolean
getDrawingPanel
public DrawingPanel getDrawingPanel()
- Specified by:
getDrawingPanel
in interface ControlParentOfDrawables
preupdate
public void preupdate()
- Specified by:
preupdate
in interface NeedsPreUpdate
addToPreupdateList
public void addToPreupdateList(NeedsPreUpdate _child)
- Specified by:
addToPreupdateList
in interface ControlParentOfDrawables
removeFromPreupdateList
public void removeFromPreupdateList(NeedsPreUpdate _child)
- Specified by:
removeFromPreupdateList
in interface ControlParentOfDrawables
addDrawable
public void addDrawable(Drawable _element)
- Specified by:
addDrawable
in interface ControlParentOfDrawables
addDrawableAtIndex
public void addDrawableAtIndex(int _index,
Drawable _element)
- Specified by:
addDrawableAtIndex
in interface ControlParentOfDrawables
removeDrawable
public void removeDrawable(Drawable _element)
- Specified by:
removeDrawable
in interface ControlParentOfDrawables