public class QuasimodeTool extends DelegatingTool
| Modifier and Type | Class and Description |
|---|---|
static class |
QuasimodeTool.ModifierKeySet |
static class |
QuasimodeTool.ModifierKeySpec |
| Constructor and Description |
|---|
QuasimodeTool(CursorTool defaultTool) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(LayerViewPanel panel) |
QuasimodeTool |
add(QuasimodeTool.ModifierKeySpec keySpec,
CursorTool tool) |
void |
cancelGesture()
Notifies the CursorTool that a party is requesting that the gesture
currently in progress be aborted.
|
QuasimodeTool |
cloneAndSetDefaultTool(CursorTool defaultTool) |
static QuasimodeTool |
createWithDefaults(CursorTool tool) |
void |
deactivate() |
static java.util.Set<QuasimodeTool.ModifierKeySpec> |
getDefaultKeyboardShortcuts() |
static CursorTool |
getDefaultKeyboardShortcutTool(QuasimodeTool.ModifierKeySpec key) |
CursorTool |
getDefaultTool() |
java.awt.event.KeyListener |
getKeyListener() |
QuasimodeTool |
remove(QuasimodeTool.ModifierKeySpec keySpec) |
java.lang.String |
toString() |
void |
useDefaults(boolean onoff) |
getCursor, getDelegate, getIcon, getName, isGestureInProgress, isRightMouseButtonUsed, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setDelegatepublic QuasimodeTool(CursorTool defaultTool)
public CursorTool getDefaultTool()
public QuasimodeTool add(QuasimodeTool.ModifierKeySpec keySpec, CursorTool tool)
public QuasimodeTool remove(QuasimodeTool.ModifierKeySpec keySpec)
public QuasimodeTool cloneAndSetDefaultTool(CursorTool defaultTool)
public java.lang.String toString()
toString in class java.lang.Objectpublic void cancelGesture()
CursorToolcancelGesture in interface CursorToolcancelGesture in class DelegatingToolpublic java.awt.event.KeyListener getKeyListener()
public void activate(LayerViewPanel panel)
activate in interface CursorToolactivate in class DelegatingToolpublic void deactivate()
deactivate in interface CursorTooldeactivate in class DelegatingToolpublic static QuasimodeTool createWithDefaults(CursorTool tool)
public void useDefaults(boolean onoff)
public static CursorTool getDefaultKeyboardShortcutTool(QuasimodeTool.ModifierKeySpec key)
public static java.util.Set<QuasimodeTool.ModifierKeySpec> getDefaultKeyboardShortcuts()