org.nakedobjects.object.control
Class ActionController

java.lang.Object
  extended byorg.nakedobjects.object.control.AbstractAbout
      extended byorg.nakedobjects.object.control.ActionAbout
          extended byorg.nakedobjects.object.control.ActionController
All Implemented Interfaces:
About, java.io.Serializable

Deprecated. replaces by ActionAbout

public class ActionController
extends ActionAbout

See Also:
ActionAbout, Serialized Form

Field Summary
static ActionAbout ALLOW
          Deprecated. An About for showing that an action is allowed.
static ActionAbout VETO
          Deprecated. An About for showing that an action is vetoed.
 
Fields inherited from class org.nakedobjects.object.control.ActionAbout
DISABLE, ENABLE, UNIMPLEMENTED
 
Constructor Summary
ActionController(java.lang.String actionName, boolean allow)
          Deprecated.  
 
Method Summary
static ActionAbout createAbout(boolean allowUse)
          Deprecated. Returns an allow action About (ActionController.ALLOW) if true; veto action (ActionController.VETO) if false.
static ActionAbout createAbout(boolean allowUse, java.lang.String vetoReason)
          Deprecated. Returns an allow-action About (ActionController.ALLOW) if true; and a new ActionController with a VETO (containing the reason) if false.
 
Methods inherited from class org.nakedobjects.object.control.ActionAbout
disable, enable, enable
 
Methods inherited from class org.nakedobjects.object.control.AbstractAbout
canAccess, canUse, getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VETO

public static final ActionAbout VETO
Deprecated. 
An About for showing that an action is vetoed.


ALLOW

public static final ActionAbout ALLOW
Deprecated. 
An About for showing that an action is allowed.

Constructor Detail

ActionController

public ActionController(java.lang.String actionName,
                        boolean allow)
Deprecated. 
Method Detail

createAbout

public static ActionAbout createAbout(boolean allowUse)
Deprecated. 
Returns an allow action About (ActionController.ALLOW) if true; veto action (ActionController.VETO) if false.


createAbout

public static ActionAbout createAbout(boolean allowUse,
                                      java.lang.String vetoReason)
Deprecated. 
Returns an allow-action About (ActionController.ALLOW) if true; and a new ActionController with a VETO (containing the reason) if false.