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, setDescriptionpublic void perform(ToolContext tc)
Toolperform in interface Toolperform in class AbstractTooltc - The current tool contextpublic String getDescription()
ToolgetDescription in interface ToolgetDescription in class AbstractTool