public class ScaleTool extends DragEventTool
Constructor and Description |
---|
ScaleTool() |
ScaleTool(String activationSlotName) |
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.
|
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
addFaceDragListener, addLineDragListener, addPointDragListener, addPrimitiveDragListener, removeFaceDragListener, removeLineDragListener, removePointDragListener, removePrimitiveDragListener
addCurrentSlot, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
public ScaleTool(String activationSlotName)
public ScaleTool()
public void activate(ToolContext tc)
Tool
activate
in interface Tool
activate
in class DragEventTool
tc
- The current tool contextpublic void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class DragEventTool
tc
- The current tool contextpublic void deactivate(ToolContext tc)
Tool
deactivate
in interface Tool
deactivate
in class DragEventTool
tc
- The current tool context