public class ChainSelect extends javax.faces.component.UIInput implements ResettableComponent
Refactor me and it's christmas.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
DEFAULT_KEY_SEPARATOR |
static String |
DEFAULT_PARENT_KEY |
Constructor and Description |
---|
ChainSelect() |
addValidator, addValueChangeListener, clearInitialState, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, setConverter
addClientBehavior, broadcast, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_KEY_SEPARATOR
public static final String DEFAULT_PARENT_KEY
public boolean isAllowBranchSelection()
public void setAllowBranchSelection(boolean allowBranchSelection)
public boolean isAllowRootSelection()
public void setAllowRootSelection(boolean allowRootSelection)
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public String getRendererType()
getRendererType
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
public Object saveState(javax.faces.context.FacesContext arg0)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void addToSelectionKeyList(String key)
public void decode(javax.faces.context.FacesContext context)
decode
in class javax.faces.component.UIInput
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws IOException
encodeEnd
in class javax.faces.component.UIComponentBase
IOException
public Boolean getLocalize()
public void setLocalize(Boolean localize)
public String getCssStyle()
public void setCssStyle(String cssStyle)
public String getCssStyleClass()
public void setCSsStyleClass(String cssStyleClass)
public String getOnchange()
public void setOnchange(String onchange)
public Selection getSelection(int i)
public void setSelections(Selection[] sels)
public Integer getSize()
public void setSize(Integer size)
public Map<String,DirectorySelectItem> getOptions(int index)
public void setOptions(int index, Map<String,DirectorySelectItem> opts)
public void rebuildOptions()
public ChainSelectListboxComponent getComponent(int i)
public boolean isMultiSelect()
public void setMultiSelect(boolean multiSelect)
public Selection[] getSelections()
public boolean isQualifiedParentKeys()
public void setQualifiedParentKeys(boolean fullyQualifiedParentKey)
public Boolean getDisplayValueOnly()
public void setDisplayValueOnly(Boolean displayValueOnly)
public String getDisplayValueOnlyStyle()
public void setDisplayValueOnlyStyle(String displayValueOnlyStyle)
public String getDisplayValueOnlyStyleClass()
public void setDisplayValueOnlyStyleClass(String displayValueOnlyStyleClass)
public boolean getMultiParentSelect()
public void setMultiParentSelect(boolean multiParentSelect)
public Selection[] getComponentValue()
public void setComponentValue(Selection[] componentValue)
public int getLastSelectedComponentIndex()
public void setLastSelectedComponentIndex(int index)
public void setCompAtIndex(int index, ChainSelectListboxComponent comp)
public String getKeySeparator()
public void setKeySeparator(String keySeparator)
public String getDefaultRootKey()
public void setDefaultRootKey(String defaultRootKey)
public void validateValue(javax.faces.context.FacesContext context, Object newValue)
validateValue
in class javax.faces.component.UIInput
public Boolean getResetCacheOnUpdate()
public void setResetCacheOnUpdate(Boolean resetCacheOnUpdate)
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIInput
public void resetCachedModel()
resetCachedModel
in interface ResettableComponent
Copyright © 2015 Nuxeo SA. All rights reserved.