| java.lang.Object javax.swing.ActionMap javax.swing.plaf.ActionMapUIResource com.jidesoft.plaf.basic.LazyActionMap
LazyActionMap | public class LazyActionMap extends ActionMapUIResource (Code) | | An ActionMap that populates its contents as necessary. The
contents are populated by invoking the loadActionMap
method on the passed in Object.
author: Scott Violet version: 1.5, 12/19/03 |
clear | public void clear()(Code) | | |
getActionMap | static ActionMap getActionMap(Class loaderClass, String defaultsKey)(Code) | | Returns an ActionMap that will be populated by invoking the
loadActionMap method on the specified Class
when necessary.
This should be used if the ActionMap can be shared.
Parameters: loaderClass - Class object that gets loadActionMap invokedon. Parameters: defaultsKey - Key to use to defaults table to check forexisting map and what resulting Map will be registered on. |
installLazyActionMap | public static void installLazyActionMap(JComponent c, Class loaderClass, String defaultsKey)(Code) | | Installs an ActionMap that will be populated by invoking the
loadActionMap method on the specified Class
when necessary.
This should be used if the ActionMap can be shared.
Parameters: c - JComponent to install the ActionMap on. Parameters: loaderClass - Class object that gets loadActionMap invokedon. Parameters: defaultsKey - Key to use to defaults table to check forexisting map and what resulting Map will be registered on. |
|
|