1
2
3
4
5 package com.hack23.cia.web.common;
6
7 import thinwire.ui.event.ActionListener;
8 import thinwire.ui.event.KeyPressListener;
9
10 /***
11 * The listener interface for receiving controllerAction events.
12 * The class that is interested in processing a controllerAction
13 * event implements this interface, and the object created
14 * with that class is registered with a component using the
15 * component's <code>addControllerActionListener<code> method. When
16 * the controllerAction event occurs, that object's appropriate
17 * method is invoked.
18 *
19 * @see ControllerActionEvent
20 */
21 public interface ControllerActionListener extends ActionListener,
22 KeyPressListener {
23
24 /***
25 * Handle user action.
26 *
27 * @param userObject the user object
28 */
29 void handleUserAction(final Object userObject);
30 }