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

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 String COMPONENT_FAMILY
          The component family.
static String COMPONENT_TYPE
          The component type.
static String FOR_ATTR
          The for attribute declaration.
 
Constructor Summary
AbstractHtmlTreeCheckbox()
           
 
Method Summary
abstract  String getFor()
          id of the referenced extended selectManyCheckbox component
 
Methods inherited from class javax.faces.component.UISelectItem
getFamily, getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isRendered, restoreState, saveState, setItemDescription, setItemDisabled, 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, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendererType, setTransient, setValueBinding
 
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 String FOR_ATTR
The for attribute declaration.


COMPONENT_TYPE

public static final String COMPONENT_TYPE
The component type.

See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
The component family.

See Also:
Constant Field Values
Constructor Detail

AbstractHtmlTreeCheckbox

public AbstractHtmlTreeCheckbox()
Method Detail

getFor

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

Returns:
The for attribute.


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