1 |
/* JTextComponent.java -- |
/* JTextComponent.java -- |
2 |
Copyright (C) 2002, 2004 Free Software Foundation, Inc. |
Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
302 |
* report</a>, a pair of private classes wraps a {@link |
* report</a>, a pair of private classes wraps a {@link |
303 |
* javax.swing.text.Keymap} in the new {@link InputMap} / {@link |
* javax.swing.text.Keymap} in the new {@link InputMap} / {@link |
304 |
* ActionMap} interfaces, such that old Keymap-using code can make use of |
* ActionMap} interfaces, such that old Keymap-using code can make use of |
305 |
* the new framework.</p> |
* the new framework. |
306 |
* |
* |
307 |
* <p>A little bit of experimentation with these classes reveals the following |
* <p>A little bit of experimentation with these classes reveals the following |
308 |
* structure: |
* structure: |
843 |
* <code>b</code>, if there exists a provided action <code>a</code> such |
* <code>b</code>, if there exists a provided action <code>a</code> such |
844 |
* that <code>a.getValue(Action.NAME) == b.ActionName</code> then an |
* that <code>a.getValue(Action.NAME) == b.ActionName</code> then an |
845 |
* entry is added to the Keymap mapping <code>b</code> to |
* entry is added to the Keymap mapping <code>b</code> to |
846 |
* </code>a</code>. |
* <code>a</code>. |
847 |
* |
* |
848 |
* @param map The Keymap to add new mappings to |
* @param map The Keymap to add new mappings to |
849 |
* @param bindings The set of bindings to add to the Keymap |
* @param bindings The set of bindings to add to the Keymap |
943 |
} |
} |
944 |
|
|
945 |
/** |
/** |
946 |
* Get the <code>AccessibleContext<code> of this object. |
* Get the <code>AccessibleContext</code> of this object. |
947 |
* |
* |
948 |
* @return an <code>AccessibleContext</code> object |
* @return an <code>AccessibleContext</code> object |
949 |
*/ |
*/ |