public class ActionTool extends AbstractTool
ActionEvent on activation.
This can be used to trigger arbitrary things when a geometry is picked.| Constructor and Description |
|---|
ActionTool(InputSlot activationSlot) |
ActionTool(String activationSlotName) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
void |
addActionListener(ActionListener l) |
void |
fire(Object obj) |
void |
removeActionListener(ActionListener l) |
addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, perform, removeCurrentSlot, setDescriptionpublic ActionTool(InputSlot activationSlot)
public ActionTool(String activationSlotName)
public void activate(ToolContext tc)
Toolactivate in interface Toolactivate in class AbstractTooltc - The current tool contextpublic void fire(Object obj)
public void addActionListener(ActionListener l)
public void removeActionListener(ActionListener l)