diff options
Diffstat (limited to 'libjava/classpath/javax/swing/ActionMap.java')
-rw-r--r-- | libjava/classpath/javax/swing/ActionMap.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/classpath/javax/swing/ActionMap.java b/libjava/classpath/javax/swing/ActionMap.java index c6092578a5e..c14bafdb4be 100644 --- a/libjava/classpath/javax/swing/ActionMap.java +++ b/libjava/classpath/javax/swing/ActionMap.java @@ -49,6 +49,14 @@ import java.util.Set; /** + * Maps arbitrary keys (usually Strings) to {@link Action} instances. This + * is used in combination with {@link InputMap}s. + * + * If a component receives an input event, this is looked up in + * the component's <code>InputMap</code>. The result is an object which + * serves as a key to the components <code>ActionMap</code>. Finally + * the <code>Action</code> that is stored is executed. + * * @author Andrew Selkirk * @author Michael Koch */ |