com.sas.models
Interface ActionInterface

All Known Implementing Classes:
ActionNode

Deprecated. Use com.sas.util.CommandsInterface instead.

public interface ActionInterface

ActionInterface allows a user to query an object for actions that can be performed on it (for example through a popup menu). It also provides a callback which allows the user of this object to indicate which action occurred on it.

See Also:
CommandsInterface

Method Summary
abstract  java.lang.Object getActions()
          Deprecated. Returns an object which contains the actions that can be performed.
abstract  void performAction(java.lang.Object action)
          Deprecated. Directs an object to perform an action.
 

Method Detail

getActions

java.lang.Object getActions()
Deprecated. 
Returns an object which contains the actions that can be performed. It is up to the implementation to determine the actual type of the object returned. An implementation can return null to indicate that there are no actions for the current object.

Returns:
a an object containing a list of the actions that can be performed.

performAction

void performAction(java.lang.Object action)
Deprecated. 
Directs an object to perform an action.

Parameters:
action - an object containing the action to be performed



Copyright © 2009 SAS Institute Inc. All Rights Reserved.