public class KeyboardModifierGestureShortcut extends Shortcut
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyboardModifierGestureShortcut.DblClick |
static class |
KeyboardModifierGestureShortcut.Hold |
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
KeyboardModifierGestureShortcut(javax.swing.KeyStroke stroke,
KeyboardGestureAction.ModifierType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
javax.swing.KeyStroke |
getStroke() |
KeyboardGestureAction.ModifierType |
getType() |
int |
hashCode() |
boolean |
isKeyboard() |
static Shortcut |
newInstance(KeyboardGestureAction.ModifierType type,
javax.swing.KeyStroke stroke) |
boolean |
startsWith(Shortcut sc) |
java.lang.String |
toString() |
protected KeyboardModifierGestureShortcut(javax.swing.KeyStroke stroke,
KeyboardGestureAction.ModifierType type)
public static Shortcut newInstance(KeyboardGestureAction.ModifierType type, javax.swing.KeyStroke stroke)
public javax.swing.KeyStroke getStroke()
public KeyboardGestureAction.ModifierType getType()
public boolean isKeyboard()
isKeyboard in class Shortcutpublic boolean startsWith(Shortcut sc)
startsWith in class Shortcutpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object