com.webobjects.eoapplication
Interface EOAction.Enabling
- All Known Implementing Classes:
- EOController
- Enclosing class:
- EOAction
- public static interface EOAction.Enabling
The EOAction.Enabling interface defines a method,
canPerformActionNamed, which allows an action receiver
to specify if an action (sent by an EOAction object) is enabled
for the receiver.
|
Method Summary |
boolean |
canPerformActionNamed(String actionName)
Returns true if the receiver can perform the action method
(sent by an EOAction object) named actionName, false otherwise. |
canPerformActionNamed
public boolean canPerformActionNamed(String actionName)
- Returns
true if the receiver can perform the action method
(sent by an EOAction object) named actionName, false otherwise.
An EOController's implementation of this method generally returns
false if the receiver doesn't have an action named
actionName or if the actionName action is explicitly disabled.
- Parameters:
actionName - the name of the EOAction- Returns:
true if the receiver can perform the action; false otherwise- See Also:
EOController.canPerformActionNamed(String)
Copyright © 2002 Apple Computer, Inc.