org.talika.tarsis.taglib.form
Class CheckboxTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.talika.tarsis.taglib.form.BaseTag
          extended byorg.talika.tarsis.taglib.form.BaseControlTag
              extended byorg.talika.tarsis.taglib.form.InputTag
                  extended byorg.talika.tarsis.taglib.form.CheckboxTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public final class CheckboxTag
extends InputTag

Implementation of input type checkbox form control tag.

Version:
$Revision: 130 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
CheckboxTag()
          Creates a new CheckboxTag object.
 
Method Summary
 java.lang.String inputAttributes()
          Renders a string with values of input attributes.
 void release()
          Called on a Tag handler to release state.
 void setChecked(java.lang.String checked)
          Sets checked attribute value.
 
Methods inherited from class org.talika.tarsis.taglib.form.InputTag
doStartTag, renderInputElement
 
Methods inherited from class org.talika.tarsis.taglib.form.BaseControlTag
controlAttributes, controlEvents, controlName, controlValue, setAccesskey, setDisabled, setName, setOnblur, setOnchange, setOnfocus, setOnselect, setReadonly, setTabindex, setValue
 
Methods inherited from class org.talika.tarsis.taglib.form.BaseTag
baseAttributes, doEndTag, intrinsicEvents, setId, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setStyle
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckboxTag

public CheckboxTag()
Creates a new CheckboxTag object.

Method Detail

inputAttributes

public java.lang.String inputAttributes()
Renders a string with values of input attributes.
Input attribute for checkbox is checked.

Overrides:
inputAttributes in class InputTag
Returns:
String a string with values of input attributes.

setChecked

public void setChecked(java.lang.String checked)
Sets checked attribute value.

Parameters:
checked - String checked attribute value.

release

public void release()
Called on a Tag handler to release state.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseControlTag
See Also:
Tag.release()


Copyright © 2002-2005 Talika Open Source Group. All Rights Reserved.