JComponentPack 1.5.0

com.zfqjava.swing
Class ActionManager

java.lang.Object
  extended by com.zfqjava.swing.ActionManager

public class ActionManager
extends Object

ActionManager provides a action manager.


Constructor Summary
ActionManager(ResourceManager resourceManager, Object actionHandler)
           
 
Method Summary
 Action getAction(String name)
          Returns the action for the specified name.
 Object getHandler()
          Returns the action handler.
 boolean isSelected(String name)
          Return the selected state for the specified action.
 void setSelected(String name, boolean b)
          Sets the action to be selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionManager

public ActionManager(ResourceManager resourceManager,
                     Object actionHandler)
Method Detail

getHandler

public Object getHandler()
Returns the action handler.

Returns:
the action handler

getAction

public Action getAction(String name)
Returns the action for the specified name.

Parameters:
name - the action name
Returns:
the action

setSelected

public void setSelected(String name,
                        boolean b)
Sets the action to be selected.

Parameters:
b - the selected state
Since:
JDataGrid 1.7.0
See Also:
isSelected(java.lang.String)

isSelected

public boolean isSelected(String name)
Return the selected state for the specified action.

Returns:
the selected state for the specified action
Since:
JDataGrid 1.7.0
See Also:
setSelected(java.lang.String, boolean)

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.