public class DragEventTool extends AbstractTool
| Constructor and Description |
|---|
DragEventTool() |
DragEventTool(InputSlot... activationSlots) |
DragEventTool(String dragSlotName) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
void |
addFaceDragListener(FaceDragListener listener) |
void |
addLineDragListener(LineDragListener listener) |
void |
addPointDragListener(PointDragListener listener) |
void |
addPrimitiveDragListener(PrimitiveDragListener listener) |
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.
|
void |
removeFaceDragListener(FaceDragListener listener) |
void |
removeLineDragListener(LineDragListener listener) |
void |
removePointDragListener(PointDragListener listener) |
void |
removePrimitiveDragListener(PrimitiveDragListener listener) |
addCurrentSlot, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescriptionpublic DragEventTool(String dragSlotName)
public DragEventTool(InputSlot... activationSlots)
public DragEventTool()
public 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 void deactivate(ToolContext tc)
Tooldeactivate in interface Tooldeactivate in class AbstractTooltc - The current tool contextpublic void addPrimitiveDragListener(PrimitiveDragListener listener)
public void removePrimitiveDragListener(PrimitiveDragListener listener)
public void addPointDragListener(PointDragListener listener)
public void removePointDragListener(PointDragListener listener)
public void addLineDragListener(LineDragListener listener)
public void removeLineDragListener(LineDragListener listener)
public void addFaceDragListener(FaceDragListener listener)
public void removeFaceDragListener(FaceDragListener listener)