com.sas.swing.util
Class ActionUtils

java.lang.Object
  |
  +--com.sas.swing.util.ActionUtils

public final class ActionUtils
extends java.lang.Object

Miscellaneous utility methods for working with Actions, including an iterator for traversing an ActionList hierarchy.


Field Summary
static String RB_KEY
           
 
Method Summary
static void invokeLater(Action action)
          Asynchronously executes the specified action.
static Iterator iterator(ActionList actionList)
          Returns an iterator over the Actions in a given ActionList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RB_KEY

public static final String RB_KEY
Method Detail

iterator

public static Iterator iterator(ActionList actionList)
Returns an iterator over the Actions in a given ActionList. This iterator differs from the one returned by ActionList.getActions().iterator() in that it will iterate over nested ActionLists.
Parameters:
actionList - the ActionList to return an iterator for
Returns:
an iterator over the actions in the given list in proper sequence

invokeLater

public static void invokeLater(Action action)
Asynchronously executes the specified action. This method uses SwingUtilities.invokeLater(Runnable) to asynchronously execute the action.
Parameters:
action - the action to execute
See Also:
SwingUtilities.invokeLater(java.lang.Runnable)




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