public class SimpleRotateTool extends AbstractTool
| Constructor and Description |
|---|
SimpleRotateTool() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
boolean |
getMoveChildren() |
boolean |
isFixOrigin() |
boolean |
isRotateOnPick() |
boolean |
isUpdateCenter() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setFixOrigin(boolean fixOrigin) |
void |
setMoveChildren(boolean moveChildren) |
void |
setRotateOnPick(boolean rotateOnPick) |
void |
setUpdateCenter(boolean updateCenter) |
addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescriptionpublic void activate(ToolContext tc)
Toolactivate in interface Toolactivate in class AbstractTooltc - The current tool contextpublic void perform(ToolContext tc)
Toolperform in interface Toolperform in class AbstractTooltc - The current tool contextpublic boolean getMoveChildren()
public void setMoveChildren(boolean moveChildren)
public boolean isUpdateCenter()
public void setUpdateCenter(boolean updateCenter)
public boolean isFixOrigin()
public void setFixOrigin(boolean fixOrigin)
public boolean isRotateOnPick()
public void setRotateOnPick(boolean rotateOnPick)