org.zkoss.jsf.zul.impl
Class BaseCheckbox

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.zkoss.jsf.zul.impl.AbstractComponent
              extended by org.zkoss.jsf.zul.impl.LeafComponent
                  extended by org.zkoss.jsf.zul.impl.BranchComponent
                      extended by org.zkoss.jsf.zul.impl.BranchOutput
                          extended by org.zkoss.jsf.zul.impl.BranchInput
                              extended by org.zkoss.jsf.zul.impl.BaseCheckbox
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, ClientInputSupport, ValueHolderSupport
Direct Known Subclasses:
Checkbox

public abstract class BaseCheckbox
extends BranchInput

The Base implementation of Checkbox. This component should be declared nested under Page.

Author:
Dennis.Chen

Field Summary
 
Fields inherited from class org.zkoss.jsf.zul.impl.LeafComponent
_compAttrMap, _composer
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
BaseCheckbox()
           
 
Method Summary
protected  void clientInputDecode(javax.faces.context.FacesContext context)
          Override Method, Decode value in request's parameter.
 java.lang.String getMappedAttributeName()
          Override Method, Return ZUL Component attribute name which can handler the submitting of input.
 
Methods inherited from class org.zkoss.jsf.zul.impl.BranchInput
addErrorMessage, addValidator, addValueChangeListener, afterZULComponentComposed, broadcast, compareValues, decode, getConvertedValue, getInputAttributeName, getInputAttributeValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, restoreState, saveState, setImmediate, setRequired, setSubmittedValue, setValid, setValidator, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class org.zkoss.jsf.zul.impl.BranchOutput
getConverter, getLocalValue, getValue, isLocalValueSet, setConverter, setLocalValueSet, setValue, transferValueForAttribute
 
Methods inherited from class org.zkoss.jsf.zul.impl.BranchComponent
loadZULTree
 
Methods inherited from class org.zkoss.jsf.zul.impl.LeafComponent
addZULDynamicAttribute, encodeBegin, encodeChildren, encodeEnd, evaluateDynaAttributes, getAttributeValue, getComponentDefName, getComponentInfo, getForward, getRendersChildren, getUse, getZULComponent, setAttributeValue, setForward, setId, setUse, setZULDynamicAttribute
 
Methods inherited from class org.zkoss.jsf.zul.impl.AbstractComponent
findAncestorWithClass, getBodyContent, getFacesContext, getFamily, getIf, getUnless, isEffective, isSuppressed, restoreAttachedMapState, saveAttachedMapState, setBodyContent, setIf, setSuppressed, setUnless
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.EditableValueHolder
isLocalValueSet, setLocalValueSet
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, setConverter, setValue
 

Constructor Detail

BaseCheckbox

public BaseCheckbox()
Method Detail

getMappedAttributeName

public java.lang.String getMappedAttributeName()
Override Method, Return ZUL Component attribute name which can handler the submitting of input. Always return "checked"

Specified by:
getMappedAttributeName in interface ValueHolderSupport
Overrides:
getMappedAttributeName in class BranchOutput
Returns:
name of attribute of zul component.
See Also:
ClientInputSupport

clientInputDecode

protected void clientInputDecode(javax.faces.context.FacesContext context)
Override Method, Decode value in request's parameter. call by BranchInput.decode(FacesContext)

Overrides:
clientInputDecode in class BranchInput


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.