org.apache.myfaces.custom.tree
Class AbstractHtmlTreeCheckbox

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UISelectItem
              extended by org.apache.myfaces.custom.tree.AbstractHtmlTreeCheckbox
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
HtmlTreeCheckbox

public abstract class AbstractHtmlTreeCheckbox
extends javax.faces.component.UISelectItem

Renders a HTML input of type "treeCheckbox". The associated comes from the treeCheckbox itemLabel and itemValue. The selected items come from an extended selectManyCheckbox component with layout "spread". The selectManyCheckbox is referenced by the "for" attribute. All HTML pass-through attributes for this input are taken from the associated selectManyCheckbox. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Author:
David Le Strat

Field Summary
static java.lang.String COMPONENT_FAMILY
          The component family.
static java.lang.String COMPONENT_TYPE
          The component type.
static java.lang.String FOR_ATTR
          The for attribute declaration.
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
AbstractHtmlTreeCheckbox()
           
 
Method Summary
abstract  java.lang.String getFor()
          id of the referenced extended selectManyCheckbox component
 
Methods inherited from class javax.faces.component.UISelectItem
getFamily, getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, restoreState, saveState, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setRendered, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, 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
 

Field Detail

FOR_ATTR

public static final java.lang.String FOR_ATTR
The for attribute declaration.


COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
The component type.

See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
The component family.

See Also:
Constant Field Values
Constructor Detail

AbstractHtmlTreeCheckbox

public AbstractHtmlTreeCheckbox()
Method Detail

getFor

public abstract java.lang.String getFor()
id of the referenced extended selectManyCheckbox component

Returns:
The for attribute.


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.