|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.view.ActionDispatcher
Class to provide system-wide action dispatch services. All components that wish to generate action events should register through the static addActionGenerator method. Eventually, the controller will put itself in as the listener. This class merely serves as a placeholder for the controller because the controller cannot be created until the view is created, but by then the view already needed to send its actions somewhere.
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Sends the ActionEvent to the controller. |
static void |
addActionGenerator(javax.swing.AbstractButton b)
|
static void |
addActionGenerator(InboxControl c)
Objects wishing to broadcast actions should register via this method. |
static void |
clear()
Shuts down the controller and discards all object references. |
static void |
fireActionEvent(java.awt.event.ActionEvent e)
|
static java.lang.ThreadGroup |
getCurrentFeatureThreadGroup()
Returns a thread group that is shared amoung features. |
static void |
setController(Controller c)
Objects wishing to hear the action broadcast should subsribe via this method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void setController(Controller c)
public static void addActionGenerator(javax.swing.AbstractButton b)
public static void addActionGenerator(InboxControl c)
public static void fireActionEvent(java.awt.event.ActionEvent e)
public static void clear()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic static java.lang.ThreadGroup getCurrentFeatureThreadGroup()
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.