protected String text;\r
\r
protected boolean checked;\r
+ \r
+ protected boolean selected;\r
\r
/**\r
This is the default constructor to set check box item string\r
this.text = text;\r
}\r
\r
+ public boolean isSelected() {\r
+ return selected;\r
+ }\r
+\r
+ public void setSelected(boolean selected) {\r
+ this.selected = selected;\r
+ }\r
+\r
}\r