Searched refs:KeyBinding (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTextUI.java156 static final JTextComponent.KeyBinding[] defaultBindings = {
157 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
160 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
163 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,
166 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT,
169 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT,
/openjdk7/jdk/test/javax/swing/LookAndFeel/6474153/
H A Dbug6474153.java42 private static void checkArray(JTextComponent.KeyBinding[] keyActionArray) {
/openjdk7/jdk/src/share/classes/javax/swing/
H A DLookAndFeel.java298 * The following example illustrates creating a {@code KeyBinding} array
301 * JTextComponent.KeyBinding[] multilineBindings = makeKeyBindings( new Object[] {
315 * creating a {@code KeyBinding} with the corresponding value
317 * in a {@code KeyBinding}, you should avoid supplying {@code null} as
331 public static JTextComponent.KeyBinding[] makeKeyBindings(Object[] keyBindingList)
333 JTextComponent.KeyBinding[] rv = new JTextComponent.KeyBinding[keyBindingList.length / 2];
341 rv[i] = new JTextComponent.KeyBinding(keystroke, action);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextUI.java164 * to be <code>JTextComponent.KeyBinding[]</code>.
179 if ((o != null) && (o instanceof JTextComponent.KeyBinding[])) {
180 JTextComponent.KeyBinding[] bindings = (JTextComponent.KeyBinding[]) o;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java1129 public static class KeyBinding { class in class:JTextComponent
1147 public KeyBinding(KeyStroke key, String actionName) { method in class:JTextComponent.KeyBinding
1164 * static final JTextComponent.KeyBinding[] defaultBindings = {
1165 * new JTextComponent.KeyBinding(
1168 * new JTextComponent.KeyBinding(
1171 * new JTextComponent.KeyBinding(
1188 public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions) {
1194 for (KeyBinding binding : bindings) {

Completed in 267 milliseconds