loadActionMap
method on the passed in Object.
| Modifier and Type | Field and Description |
|---|---|
| private transient Object | _loader
Object to invoke |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | allKeys()
Overrides javax. Returns an array of the keys defined in this |
| public void | |
| public Action | get(Object key)
Overrides javax. Returns the binding for |
| pack-priv static ActionMap | getActionMap(Class<?>
Class object that gets loadActionMap invoked
on. loaderClass, String Key to use to defaults table to check for
existing map and what resulting Map will be registered on. defaultsKey)Returns an ActionMap that will be populated by invoking the
|
| pack-priv static void | installLazyActionMap(JComponent
JComponent to install the ActionMap on. c, Class<?> Class object that gets loadActionMap invoked
on. loaderClass, String Key to use to defaults table to check for
existing map and what resulting Map will be registered on. defaultsKey)Installs an ActionMap that will be populated by invoking the
|
| public Object[] | keys()
Overrides javax. Returns the |
| private void | |
| public void | |
| public void | put(Object key, Action action)
Overrides javax. Adds a binding for |
| public void | remove(Object key)
Overrides javax. Removes the binding for |
| public void | |
| public int |
| _loader | back to summary |
|---|---|
| private transient Object _loader Object to invoke | |
| LazyActionMap | back to summary |
|---|---|
| private LazyActionMap(Class<?> loader) | |
| allKeys | back to summary |
|---|---|
| public Object[] allKeys() Overrides javax. Doc from javax. Returns an array of the keys defined in this | |
| clear | back to summary |
|---|---|
| public void clear() Overrides javax. Doc from javax. Removes all the mappings from this | |
| get | back to summary |
|---|---|
| public Action get(Object key) Overrides javax. Doc from javax. Returns the binding for | |
| getActionMap | back to summary |
|---|---|
| pack-priv static ActionMap getActionMap(Class<?> loaderClass, String defaultsKey) Returns an ActionMap that will be populated by invoking the
This should be used if the ActionMap can be shared. | |
| installLazyActionMap | back to summary |
|---|---|
| pack-priv static void installLazyActionMap(JComponent c, Class<?> loaderClass, String defaultsKey) Installs an ActionMap that will be populated by invoking the
This should be used if the ActionMap can be shared.
| |
| keys | back to summary |
|---|---|
| public Object[] keys() Overrides javax. Doc from javax. Returns the | |
| loadIfNecessary | back to summary |
|---|---|
| private void loadIfNecessary() | |
| put | back to summary |
|---|---|
| public void put(Action action) | |
| put | back to summary |
|---|---|
| public void put(Object key, Action action) Overrides javax. Doc from javax. Adds a binding for In most instances, | |
| remove | back to summary |
|---|---|
| public void remove(Object key) Overrides javax. Doc from javax. Removes the binding for | |
| setParent | back to summary |
|---|---|
| public void setParent(ActionMap map) Overrides javax. Doc from javax. Sets this | |
| size | back to summary |
|---|---|
| public int size() Overrides javax. Doc from javax. Returns the number of bindings in this | |