com.sas.util
Interface CommandsInterface

All Known Subinterfaces:
MenuCommand
All Known Implementing Classes:
MenuSeparatorCommand, NodeView, NodeView

public interface CommandsInterface

Defines an interface for command producers. A command producer is an object that yields a set of commands for interacting with itself. A user of the object might present these commands in a popup menu, for example.

See Also:
CommandManager, Command, MenuCommand, ContextCommandsInterface

Method Summary
 com.sas.util.Command[] getCommands()
          Returns a list of commands.
 

Method Detail

getCommands

com.sas.util.Command[] getCommands()
Returns a list of commands. The list may contain sublists by making one of the items a menu command.

Returns:
An array of commands.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.