APIdia Launch Partner
Top Fields Constructors Methods
com.sun.java.swing.action

public abstract Class ActionManager

extends Object
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.ui.action.HSDBActionManager
Imports
java.util.HashMap, javax.swing.Action, .ImageIcon

Field Summary

Modifier and TypeField and Description
private HashMap<String, Action>
private static ActionManager
private static ActionUtilities

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected void
addAction(String cmdname, Action action)

protected abstract void
public Action
public DelegateAction
public static ImageIcon
public static ActionManager
public StateChangeAction
public void
setActionEnabled(String name, boolean enabled)

protected static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

actionsback to summary
private HashMap<String, Action> actions
managerback to summary
private static ActionManager manager
utilitiesback to summary
private static ActionUtilities utilities

Constructor Detail

ActionManagerback to summary
protected ActionManager()

Method Detail

addActionback to summary
protected void addAction(String cmdname, Action action)
addActionsback to summary
protected abstract void addActions()
getActionback to summary
public Action getAction(String key)
getDelegateActionback to summary
public DelegateAction getDelegateAction(String name)
getIconback to summary
public static ImageIcon getIcon(String name)
getInstanceback to summary
public static ActionManager getInstance()
getStateChangeActionback to summary
public StateChangeAction getStateChangeAction(String name)
setActionEnabledback to summary
public void setActionEnabled(String name, boolean enabled)
setInstanceback to summary
protected static void setInstance(ActionManager m)