| java.lang.Object org.underworldlabs.swing.actions.ActionBuilder
ActionBuilder | public class ActionBuilder (Code) | | author: Takis Diakoumis version: $Revision: 1.4 $ |
build | public static void build(ActionMap actionMap, InputMap inputMap, String path)(Code) | | Builds the action map for the specified action and input maps
using the actions as specified by the XML conf file at path.
Parameters: actionMap - - the action map to bind to Parameters: inputMap - - the input map to bind to Parameters: path - - the path to the action XML conf file |
get | public static Action get(Object key)(Code) | | Returns the action with the specified key name.
|
getActions | public static Map getActions()(Code) | | Returns a map containing key/value pairs of all the currently
bound actions.
|
reloadActions | public static Map reloadActions(String path)(Code) | | Reloads the actions from the action conf file at the specified path.
|
updateUserDefinedShortcuts | public static void updateUserDefinedShortcuts(InputMap inputMap, Properties shortcuts)(Code) | | Updates the action shortcut keys based on the properties specified.
Parameters: inputMap - - the input map to bind to Parameters: shortcuts - - the new shortcut keys |
|
|