de.jreality.tutorial.plugin
Class ContentToolsExample.ToggleTool

java.lang.Object
  extended by de.jreality.scene.tool.AbstractTool
      extended by de.jreality.tutorial.plugin.ContentToolsExample.ToggleTool
All Implemented Interfaces:
Tool
Enclosing class:
ContentToolsExample

public class ContentToolsExample.ToggleTool
extends AbstractTool


Constructor Summary
ContentToolsExample.ToggleTool()
           
 
Method Summary
 String getDescription()
          Gives an overall description of this Tool.
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 
Methods inherited from class de.jreality.scene.tool.AbstractTool
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, hashCode, removeCurrentSlot, setDescription
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentToolsExample.ToggleTool

public ContentToolsExample.ToggleTool()
Method Detail

perform

public void perform(ToolContext tc)
Description copied from interface: Tool
This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.

Specified by:
perform in interface Tool
Overrides:
perform in class AbstractTool
Parameters:
tc - The current tool context

getDescription

public String getDescription()
Description copied from interface: Tool
Gives an overall description of this Tool.

Specified by:
getDescription in interface Tool
Overrides:
getDescription in class AbstractTool
Returns:
A description of the Tool including information about activation and overall behaviour.