|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.ejs.control.ControlElement
org.opensourcephysics.ejs.control.swing.ControlSwingElement
org.opensourcephysics.ejs.control.swing.ControlDrawablesParent
public abstract class ControlDrawablesParent
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, VISIBLE |
| Fields inherited from class org.opensourcephysics.ejs.control.ControlElement |
|---|
ACTION, isUnderEjs, METHOD_FOR_VARIABLE, METHOD_TRIGGER, myGroup, myObject, myPropertiesTable, VARIABLE_CHANGED |
| Constructor Summary | |
|---|---|
ControlDrawablesParent(java.lang.Object _visual)
Constructor ControlDrawablesParent |
|
| Method Summary | |
|---|---|
void |
addToPreupdateList(NeedsPreUpdate _child)
|
ControlDrawable |
getSelectedDrawable()
|
void |
removeFromPreupdateList(NeedsPreUpdate _child)
|
void |
update()
|
| Methods inherited from class org.opensourcephysics.ejs.control.swing.ControlSwingElement |
|---|
createVisual, getComponent, getIcon, getPropertyInfo, getPropertyList, getValue, getVisual, parseConstant, setDefaultValue, setValue |
| Methods 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ControlDrawablesParent(java.lang.Object _visual)
_visual - | Method Detail |
|---|
public void update()
update in interface NeedsUpdatepublic void addToPreupdateList(NeedsPreUpdate _child)
public void removeFromPreupdateList(NeedsPreUpdate _child)
public ControlDrawable getSelectedDrawable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||