public class FlyTool2 extends AbstractTool
Constructor and Description |
---|
FlyTool2() |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ActionListener l) |
void |
broadcastChange() |
double |
getGain() |
boolean |
isShiftIsRotate() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
removeChangeListener(ActionListener l) |
void |
setGain(double gain) |
void |
setMetric(int sig) |
void |
setShiftIsRotate(boolean shiftIsRotate) |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
public void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic double getGain()
public void setGain(double gain)
public void setMetric(int sig)
public void addChangeListener(ActionListener l)
public void removeChangeListener(ActionListener l)
public void broadcastChange()
public boolean isShiftIsRotate()
public void setShiftIsRotate(boolean shiftIsRotate)