Class ControlDrawablesParent
java.lang.Object
org.opensourcephysics.ejs.control.ControlElement
org.opensourcephysics.ejs.control.swing.ControlSwingElement
org.opensourcephysics.ejs.control.swing.ControlDrawablesParent
- All Implemented Interfaces:
 NeedsUpdate
A container to hold Drawables.
 The base class for ControlDrawingParent, ControlDrawingPanel3D and ControlPlottingPanel
 Its visual MUST be a (subclass of) DrawingPanel
 It is prepared for interaction, if the visual is interactive
- 
Field Summary
Fields inherited from class org.opensourcephysics.ejs.control.swing.ControlSwingElement
ACTION_OFF, ACTION_ON, ACTION_PRESS, BACKGROUND, ENABLED, FONT, FOREGROUND, myVisual, NAME, PARENT, POSITION, SIZE, TOOLTIP, VISIBLEFields inherited from class org.opensourcephysics.ejs.control.ControlElement
ACTION, isUnderEjs, METHOD_FOR_VARIABLE, METHOD_TRIGGER, myGroup, myObject, myPropertiesTable, VARIABLE_CHANGED - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddToPreupdateList(NeedsPreUpdate _child) voidvoidupdate()Methods inherited from class org.opensourcephysics.ejs.control.swing.ControlSwingElement
createVisual, getComponent, getIcon, getPropertyInfo, getPropertyList, getValue, getVisual, parseConstant, setDefaultValue, setValueMethods inherited from class org.opensourcephysics.ejs.control.ControlElement
addAction, addAction, addAction, destroy, getGroup, getObject, getProperty, getSimulation, implementsProperty, initialize, invokeActions, invokeActions, isActive, propertyIsTypeOf, propertyType, removeAction, removeAction, reset, setActive, setGroup, setProperties, setProperty, toString, variableChanged, variableChangedDoNotUpdate, variablePropertiesClear, variablesChanged 
- 
Constructor Details
- 
ControlDrawablesParent
Constructor ControlDrawablesParent- Parameters:
 _visual-
 
 - 
 - 
Method Details
- 
update
public void update()- Specified by:
 updatein interfaceNeedsUpdate
 - 
addToPreupdateList
 - 
removeFromPreupdateList
 - 
getSelectedDrawable
 
 -