|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.display3d.simple3d.InteractionTarget
The simple3d implementation of InteractionTarget
Method Summary | |
java.lang.String |
getActionCommand()
Returns the action command of this target |
boolean |
getAffectsGroup()
Whether the target affects the top-level group |
boolean |
isEnabled()
Returns the enabled status of the target |
void |
setActionCommand(java.lang.String command)
Sets the action commmand for this target |
void |
setAffectsGroup(boolean value)
Whether the interaction with the target affects the top-level group of the element that contains it (instead of only affecting the element). |
void |
setEnabled(boolean value)
Enables/Disables the target |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final void setEnabled(boolean value)
setEnabled
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
value
- booleanpublic final boolean isEnabled()
isEnabled
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
public final java.lang.String getActionCommand()
getActionCommand
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
public final void setActionCommand(java.lang.String command)
setActionCommand
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
command
- Stringpublic final void setAffectsGroup(boolean value)
setAffectsGroup
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
value
- booleanpublic final boolean getAffectsGroup()
getAffectsGroup
in interface org.opensourcephysics.display3d.core.interaction.InteractionTarget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |