|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 InteractionTargetvalue - booleanpublic final boolean isEnabled()
isEnabled in interface InteractionTargetpublic final java.lang.String getActionCommand()
getActionCommand in interface InteractionTargetpublic final void setActionCommand(java.lang.String command)
setActionCommand in interface InteractionTargetcommand - Stringpublic final void setAffectsGroup(boolean value)
setAffectsGroup in interface InteractionTargetvalue - booleanElementpublic final boolean getAffectsGroup()
getAffectsGroup in interface InteractionTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||