KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > controller > form > config > test > TestActionHandler


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.mvc.controller.form.config.test;
8
9
10 import com.inversoft.verge.mvc.controller.form.FormAction;
11
12
13 /**
14  * <p>
15  * This class is a test action handler
16  * </p>
17  *
18  * @author Brian Pontarelli
19  */

20 public class TestActionHandler {
21
22     public boolean action = false;
23     public boolean action2 = false;
24     public boolean action3 = false;
25
26
27     /**
28      * Instantiates a new <code>TestActionHandler</code>
29      */

30     public TestActionHandler() {
31     }
32
33
34     /**
35      * A test handler method
36      */

37     public void handleTestAction(FormAction formEvent) {
38         action = true;
39     }
40
41     /**
42      * A test handler method
43      */

44     public void handleTestAction2(FormAction formEvent) {
45         action2 = true;
46     }
47
48     /**
49      * A test handler method
50      */

51     public void handleTestAction3(FormAction formEvent) {
52         action3 = true;
53     }
54 }
55
Popular Tags