Documentation of 'kcl.waterloo.actions.ActionManager' Java class
ActionManager
kcl.waterloo.actions

Class ActionManager



  • public class ActionManager
    extends java.lang.Object
    This class provides a static method for processing action events for common menu and button actions used in various Waterloo project packages. Unlike the methods in ActionServices which it calls, ActionManager does not return any references to Waterloo objects. Potentially lengthy actions are submitted to a background thread so these are non-blocking and the worker is returned - users can test that for thread completion. Note that, in some cases, the worker doInBackground returns another worker from the call to ActionServices. This class is intended primarily for use within Waterloo code - but may also be useful in user-developed GUIs.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static javax.swing.SwingWorker<?,?> processAction(java.awt.event.ActionEvent ae, java.awt.Component thisComponent)
      A static method for processing action events.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • processAction

        public static javax.swing.SwingWorker<?,?> processAction(java.awt.event.ActionEvent ae,
                                                                 java.awt.Component thisComponent)
        A static method for processing action events.
        Parameters:
        ae - ActionEvent
        thisComponent - Relevant Component
        Returns:
        a java.lang.Object instance

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.