public abstract class CompositeTool extends java.lang.Object implements CursorTool
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList |
cursorTools |
Constructor and Description |
---|
CompositeTool(CursorTool[] cursorTools) |
Modifier and Type | Method and Description |
---|---|
void |
activate(LayerViewPanel layerViewPanel) |
CompositeTool |
add(CursorTool tool) |
void |
cancelGesture()
Notifies the CursorTool that a party is requesting that the gesture
currently in progress be aborted.
|
void |
deactivate() |
protected CursorTool |
firstCursorTool() |
java.awt.Cursor |
getCursor() |
javax.swing.Icon |
getIcon() |
protected java.lang.String |
getName(java.lang.String delimiter) |
LayerViewPanel |
getPanel() |
boolean |
isGestureInProgress() |
boolean |
isRightMouseButtonUsed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public CompositeTool(CursorTool[] cursorTools)
public void deactivate()
deactivate
in interface CursorTool
public java.awt.Cursor getCursor()
getCursor
in interface CursorTool
public boolean isRightMouseButtonUsed()
isRightMouseButtonUsed
in interface CursorTool
protected CursorTool firstCursorTool()
public void activate(LayerViewPanel layerViewPanel)
activate
in interface CursorTool
public CompositeTool add(CursorTool tool)
public void cancelGesture()
CursorTool
cancelGesture
in interface CursorTool
public javax.swing.Icon getIcon()
getIcon
in interface CursorTool
protected java.lang.String getName(java.lang.String delimiter)
public boolean isGestureInProgress()
isGestureInProgress
in interface CursorTool
public LayerViewPanel getPanel()