Lines Matching refs:KeyStroke

1134         public KeyStroke key;
1147 public KeyBinding(KeyStroke key, String actionName) {
1166 * KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK),
1169 * KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK),
1172 * KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK),
4084 bindings = new Hashtable<KeyStroke, Action>();
4113 public Action getAction(KeyStroke key) {
4121 public KeyStroke[] getBoundKeyStrokes() {
4122 KeyStroke[] keys = new KeyStroke[bindings.size()];
4124 for (Enumeration<KeyStroke> e = bindings.keys() ; e.hasMoreElements() ;) {
4139 public KeyStroke[] getKeyStrokesForAction(Action a) {
4143 KeyStroke[] retValue = null;
4145 Vector<KeyStroke> keyStrokes = null;
4146 for (Enumeration<KeyStroke> keys = bindings.keys(); keys.hasMoreElements();) {
4147 KeyStroke key = keys.nextElement();
4150 keyStrokes = new Vector<KeyStroke>();
4157 KeyStroke[] pStrokes = parent.getKeyStrokesForAction(a);
4171 keyStrokes = new Vector<KeyStroke>();
4185 retValue = new KeyStroke[keyStrokes.size() +
4196 retValue = new KeyStroke[keyStrokes.size()];
4202 public boolean isLocallyDefined(KeyStroke key) {
4206 public void addActionForKeyStroke(KeyStroke key, Action a) {
4210 public void removeKeyStrokeBinding(KeyStroke key) {
4236 Hashtable<KeyStroke, Action> bindings;
4248 * does not have a binding for the KeyStroke,
4250 * Action is returned, if not and the KeyStroke represents a
4265 public KeyStroke[] keys() {
4266 KeyStroke[] sKeys = super.keys();
4267 KeyStroke[] keymapKeys = keymap.getBoundKeyStrokes();
4276 KeyStroke[] retValue = new KeyStroke[sCount + keymapCount];
4285 KeyStroke[] keymapStrokes = keymap.getBoundKeyStrokes();
4291 public Object get(KeyStroke keyStroke) {
4865 // treat it as a KeyStroke, otherwise or there is no KeyStroke defined,
4873 KeyStroke k = KeyStroke.getKeyStroke(committedText.charAt(0));