KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > examples > misc > TestCheckBox


1 /*
2  * Copyright (c) 2005 Your Corporation. All Rights Reserved.
3  */

4 package org.apache.myfaces.examples.misc;
5
6 import java.io.Serializable JavaDoc;
7
8 /**
9  * @author Sylvain Vieujot (latest modification by $Author: matzew $)
10  * @version $Revision: 1.1 $ $Date: 2005/03/24 16:47:10 $
11  */

12 public class TestCheckBox implements Serializable JavaDoc
13 {
14     private boolean checked;
15     private String JavaDoc text;
16
17  
18     public boolean isChecked() {
19         return checked;
20     }
21     public void setChecked(boolean checked) {
22         this.checked = checked;
23     }
24     
25     
26     public String JavaDoc getText() {
27         return text;
28     }
29     public void setText(String JavaDoc text) {
30         this.text = text;
31     }
32 }
33
Popular Tags