public class SliceBoxFactory.SimpleDragTool extends AbstractTool
| Constructor and Description |
|---|
SimpleDragTool() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
void |
deactivate(ToolContext tc)
this method is called when the tool was activate and the
AxisState of the activation slot changes to AxisState.RELEASED - to zero.
|
double |
getSeparation() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setSeparation(double d) |
addCurrentSlot, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescriptionpublic void setSeparation(double d)
public double getSeparation()
public void activate(ToolContext tc)
Toolactivate in interface Toolactivate in class AbstractTooltc - The current tool contextpublic void deactivate(ToolContext tc)
Tooldeactivate in interface Tooldeactivate in class AbstractTooltc - The current tool contextpublic void perform(ToolContext tc)
Toolperform in interface Toolperform in class AbstractTooltc - The current tool context