WebObjects 5.2.3

com.webobjects.eoapplication
Interface EOAction.Enabling

All Known Implementing Classes:
EOController, EOWindowObserver
Enclosing interface:
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.
 

Method Detail

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

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.