net.sf.easyweb4j.tags
Class CheckBoxTag
java.lang.Object
  
javax.servlet.jsp.tagext.SimpleTagSupport
      
net.sf.easyweb4j.tags.EasyWeb4JTagSupport
          
net.sf.easyweb4j.tags.CheckBoxTag
- All Implemented Interfaces: 
 - javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
 
public class CheckBoxTag
- extends EasyWeb4JTagSupport
 
Generates a simple checkbox. However, uses a boolean state attribute to
 determine the default state.
- Author:
 
  - Chandra Sekar S
 
 
| 
Method Summary | 
 void | 
doTag()
 
            | 
 boolean | 
isState()
 
            | 
 void | 
setState(boolean state)
 
          Determines whether the default state is selected or not. | 
 
 
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport | 
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CheckBoxTag
public CheckBoxTag()
doTag
public void doTag()
           throws javax.servlet.jsp.JspException,
                  IOException
- Specified by:
 doTag in interface javax.servlet.jsp.tagext.SimpleTag- Overrides:
 doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
 
- Throws:
 javax.servlet.jsp.JspException
IOException
 
isState
public boolean isState()
 
setState
public void setState(boolean state)
- Determines whether the default state is selected or not.
- Parameters:
 state - true if selected by default false otherwise.
 
 
Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.