public class ChainSelect extends UIInput
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 |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
Constructor and Description |
---|
ChainSelect() |
addValidator, addValueChangeListener, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, getValue, setConverter
broadcast, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getLocalValue, getValue, setConverter
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 getRendererType()
getRendererType
in class UIComponentBase
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIInput
public Object saveState(FacesContext arg0)
saveState
in interface StateHolder
saveState
in class UIInput
public void addToSelectionKeyList(String key)
public void decode(FacesContext context)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class 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(FacesContext context, Object newValue)
validateValue
in class UIInput
public Boolean getResetCacheOnUpdate()
public void setResetCacheOnUpdate(Boolean resetCacheOnUpdate)
public void processUpdates(FacesContext context)
processUpdates
in class UIInput
Copyright © 2012 Nuxeo SA. All Rights Reserved.