KickJava   Java API By Example, From Geeks To Geeks.

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


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

9 public class TabbedPaneBean
10         implements Serializable JavaDoc
11 {
12     //private static final Log log = LogFactory.getLog(TabbedPaneBean.class);
13

14     private boolean _tab1Visible = true;
15     private boolean _tab2Visible = true;
16     private boolean _tab3Visible = true;
17
18     public boolean isTab1Visible()
19     {
20         return _tab1Visible;
21     }
22
23     public void setTab1Visible(boolean tab1Visible)
24     {
25         _tab1Visible = tab1Visible;
26     }
27
28     public boolean isTab2Visible()
29     {
30         return _tab2Visible;
31     }
32
33     public void setTab2Visible(boolean tab2Visible)
34     {
35         _tab2Visible = tab2Visible;
36     }
37
38     public boolean isTab3Visible()
39     {
40         return _tab3Visible;
41     }
42
43     public void setTab3Visible(boolean tab3Visible)
44     {
45         _tab3Visible = tab3Visible;
46     }
47 }
48
Popular Tags