|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.display3d.simple3d.InteractionTarget
public class 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 InteractionTarget
value
- booleanpublic final boolean isEnabled()
isEnabled
in interface InteractionTarget
public final java.lang.String getActionCommand()
getActionCommand
in interface InteractionTarget
public final void setActionCommand(java.lang.String command)
setActionCommand
in interface InteractionTarget
command
- Stringpublic final void setAffectsGroup(boolean value)
setAffectsGroup
in interface InteractionTarget
value
- booleanElement
public final boolean getAffectsGroup()
getAffectsGroup
in interface InteractionTarget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |