public class AcceleratorKeyList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCELERATOR_KEY_LIST |
Constructor and Description |
---|
AcceleratorKeyList() |
Modifier and Type | Method and Description |
---|---|
static void |
addAcceleratorKey(javax.swing.JComponent component,
javax.swing.Action action) |
static void |
addAcceleratorKeyList(javax.swing.text.JTextComponent c,
javax.swing.Action action) |
static javax.swing.Action |
addAction(javax.swing.JComponent c,
javax.swing.Action action) |
static void |
addActionToActionMap(javax.swing.JComponent c,
javax.swing.Action action) |
static void |
addActionToInputMap(javax.swing.JComponent c,
javax.swing.Action action) |
static void |
dump(javax.swing.ActionMap actionMap) |
static void |
dump(javax.swing.InputMap inputMap) |
static javax.swing.KeyStroke |
getKeyStroke(int keyCode,
int modifiers) |
static javax.swing.KeyStroke |
getKeyStroke(java.lang.String s) |
static java.util.List<javax.swing.KeyStroke> |
getKeyStrokeList(java.lang.String... keyStrokeStrings) |
static void |
processAcceleratorKeys(javax.swing.JComponent o) |
static void |
purgeActionFromActionMap(javax.swing.JComponent c,
javax.swing.Action action) |
static void |
purgeKeyFromActionMap(javax.swing.ActionMap actionMap,
java.lang.Object key) |
static void |
purgeKeyFromActionMap(javax.swing.JComponent c,
java.lang.Object key) |
static void |
putAcceleratorKeyList(javax.swing.Action action,
java.util.List<javax.swing.KeyStroke> keyStrokeList) |
static void |
putAcceleratorKeyList(javax.swing.Action action,
java.lang.String... keyStrokeStrings) |
public static final java.lang.String ACCELERATOR_KEY_LIST
public static void putAcceleratorKeyList(javax.swing.Action action, java.util.List<javax.swing.KeyStroke> keyStrokeList)
public static void putAcceleratorKeyList(javax.swing.Action action, java.lang.String... keyStrokeStrings)
public static java.util.List<javax.swing.KeyStroke> getKeyStrokeList(java.lang.String... keyStrokeStrings)
public static javax.swing.KeyStroke getKeyStroke(java.lang.String s)
public static javax.swing.KeyStroke getKeyStroke(int keyCode, int modifiers)
public static void purgeKeyFromActionMap(javax.swing.ActionMap actionMap, java.lang.Object key)
public static void purgeKeyFromActionMap(javax.swing.JComponent c, java.lang.Object key)
public static void purgeActionFromActionMap(javax.swing.JComponent c, javax.swing.Action action)
public static void addActionToActionMap(javax.swing.JComponent c, javax.swing.Action action)
public static void addActionToInputMap(javax.swing.JComponent c, javax.swing.Action action)
public static javax.swing.Action addAction(javax.swing.JComponent c, javax.swing.Action action)
public static void addAcceleratorKey(javax.swing.JComponent component, javax.swing.Action action)
public static void addAcceleratorKeyList(javax.swing.text.JTextComponent c, javax.swing.Action action)
public static void dump(javax.swing.InputMap inputMap)
public static void dump(javax.swing.ActionMap actionMap)
public static void processAcceleratorKeys(javax.swing.JComponent o)