public class ContentToolsExample.ToggleTool extends AbstractTool
Constructor and Description |
---|
ToggleTool() |
Modifier and Type | Method and Description |
---|---|
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.
|
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, hashCode, removeCurrentSlot, setDescription
public void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic String getDescription()
Tool
getDescription
in interface Tool
getDescription
in class AbstractTool