org.apache.myfaces.tobago.component
Class UITreeSelect

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by javax.faces.component.UISelectBoolean
                      extended by org.apache.myfaces.tobago.internal.component.AbstractUITreeSelect
                          extended by org.apache.myfaces.tobago.component.UITreeSelect
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, SupportsMarkup, Configurable

public class UITreeSelect
extends AbstractUITreeSelect
implements SupportsMarkup

Makes a tree node selectable. UIComponent class, generated from template component1.2.stg with class TreeSelectTagDeclaration.


Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UISelectBoolean
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UITreeSelect()
           
 
Method Summary
 Markup getCurrentMarkup()
           
 String getLabel()
          Text value to display as label.
 Markup getMarkup()
           
 String getTip()
          Text value to display as tooltip.
 boolean isShowCheckbox()
          Show a checkbox to visualize the selection state.
 void restoreState(javax.faces.context.FacesContext context, Object componentState)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setCurrentMarkup(Markup currentMarkup)
           
 void setLabel(String label)
           
 void setMarkup(Markup markup)
           
 void setShowCheckbox(boolean showCheckbox)
           
 void setTip(String tip)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUITreeSelect
updateModel
 
Methods inherited from class javax.faces.component.UISelectBoolean
getFamily, getValueBinding, getValueExpression, isSelected, setSelected, setValueBinding, setValueExpression
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getRendererType
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

UITreeSelect

public UITreeSelect()
Method Detail

getMarkup

public Markup getMarkup()
Specified by:
getMarkup in interface SupportsMarkup

setMarkup

public void setMarkup(Markup markup)
Specified by:
setMarkup in interface SupportsMarkup

getCurrentMarkup

public Markup getCurrentMarkup()
Specified by:
getCurrentMarkup in interface SupportsMarkup
Specified by:
getCurrentMarkup in interface Configurable

setCurrentMarkup

public void setCurrentMarkup(Markup currentMarkup)
Specified by:
setCurrentMarkup in interface SupportsMarkup

getLabel

public String getLabel()
Text value to display as label. If text contains an underscore the next character is used as accesskey.


setLabel

public void setLabel(String label)

isShowCheckbox

public boolean isShowCheckbox()
Show a checkbox to visualize the selection state. This is useful to hide the checkbox, e. g. dependent of the type of the node.
Default: true


setShowCheckbox

public void setShowCheckbox(boolean showCheckbox)

getTip

public String getTip()
Text value to display as tooltip.


setTip

public void setTip(String tip)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object componentState)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIInput

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIInput


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.