com.sas.swing.util
Interface ActionList

All Superinterfaces:
Action,
All Known Implementing Classes:
ActionList

public interface ActionList
extends Action

An Action that also has a list of other Actions.


Field Summary
static String ACTIONS
          The key used for storing the list of actions.
static Object SEPARATOR
          Object to insert into the list of actions to separate the actions into groups.
 
Fields inherited from interface com.sas.swing.util.Action
ALIGNMENT_CENTER, ALIGNMENT_LEADING, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ALIGNMENT_TRAILING, ALTERNATE_TEXT, COMMAND_CLASS, GROUP_NAME, LABEL, LARGE_DISABLED_ICON, LARGE_DISABLED_ICON_NAME, LARGE_ICON, LARGE_ICON_NAME, LONG_DISABLED_DESCRIPTION, LONG_NAME, MNEMONIC_INDEX, ROLLOVER_ICON_NAME, SHORT_DISABLED_DESCRIPTION, SMALL_DISABLED_ICON, SMALL_DISABLED_ICON_NAME, SMALL_ICON_NAME, STYLE_MAP, TARGET, TEXT_ALIGNMENT, TYPE, TYPE_BOOLEAN, TYPE_NORMAL, URL
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 List getActions()
          Returns the list of actions.
 
Methods inherited from interface com.sas.swing.util.Action
performAction
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

ACTIONS

public static final String ACTIONS
The key used for storing the list of actions. The list is represented as java.util.List and can be accessed via the convenience method getActions().
See Also:
getActions()

SEPARATOR

public static final Object SEPARATOR
Object to insert into the list of actions to separate the actions into groups.
Method Detail

getActions

public List getActions()
Returns the list of actions.

The elements of the list will be of type Action or ActionList or equal to SEPARATOR.

Convenience method for (java.util.List)this.getValue (ActionList.ACTIONS)

Returns:
a mutable java.util.List; will never return null




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 02:18:42