Class InteractionTarget
java.lang.Object
org.opensourcephysics.display3d.simple3d.InteractionTarget
- All Implemented Interfaces:
 InteractionTarget
The simple3d implementation of InteractionTarget
- 
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns the action command of this targetfinal booleanWhether the target affects the top-level groupfinal booleanReturns the enabled status of the targetfinal voidsetActionCommand(String command) Sets the action commmand for this targetfinal voidsetAffectsGroup(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).final voidsetEnabled(boolean value) Enables/Disables the target 
- 
Method Details
- 
setEnabled
public final void setEnabled(boolean value) Enables/Disables the target- Specified by:
 setEnabledin interfaceInteractionTarget- Parameters:
 value- boolean
 - 
isEnabled
public final boolean isEnabled()Returns the enabled status of the target- Specified by:
 isEnabledin interfaceInteractionTarget- Returns:
 - boolean
 
 - 
getActionCommand
Returns the action command of this target- Specified by:
 getActionCommandin interfaceInteractionTarget- Returns:
 - String
 
 - 
setActionCommand
Sets the action commmand for this target- Specified by:
 setActionCommandin interfaceInteractionTarget- Parameters:
 command- String
 - 
setAffectsGroup
public final 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). Default is false.- Specified by:
 setAffectsGroupin interfaceInteractionTarget- Parameters:
 value- boolean- See Also:
 
 - 
getAffectsGroup
public final boolean getAffectsGroup()Whether the target affects the top-level group- Specified by:
 getAffectsGroupin interfaceInteractionTarget- Returns:
 - boolean
 
 
 -