kcl.waterloo.actions
Class ActionManager
- java.lang.Object
-
- kcl.waterloo.actions.ActionManager
-
public class ActionManager extends java.lang.ObjectThis 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.
-
DMelt 3.0 © DataMelt by jWork.ORG