KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Raptor > listeners > switchPl_li


1 /*******************************************************************************
2  * Copyright (c) 2004, Dirk von der Weiden.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution.
6  *
7  * Contributors:
8  * Dirk von der Weiden - initial API and implementation
9  *
10  * Created on 04.04.2004
11  *
12  * date: 04.04.2004
13  * project: WiSer Builder
14  *
15  *******************************************************************************/

16
17 package Raptor.listeners;
18
19 import Jmc.baseGui.*;
20 import Jmc.baseTools.*;
21
22 /**
23  * @author Dirk
24  *
25  * date: 03.03.2004
26  * project: WiSer-Builder
27  *
28  * <p>
29  * ...
30  * </p>
31  */

32 public class switchPl_li implements base_guiListener
33 {
34
35     /**
36      *
37      */

38     public switchPl_li()
39     {
40     }
41
42     /**
43          * <p>
44          * Does...
45          * </p><p>
46          *
47          * @return a Type with
48          * </p><p>
49          * @param
50          * </p>
51          */

52     public void pcmf_execListener(base_guiObj xParam) throws Exception JavaDoc
53     {
54     if (xParam.pcmf_getValue().equals("CHECKED"))
55     {
56       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable")).pcmf_enable();
57       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable2")).pcmf_enable();
58     }
59     else
60     {
61       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable")).pcmf_disable();
62       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable2")).pcmf_disable();
63     }
64     }
65 }
Popular Tags