public abstract class ChainSelectBase extends UIInput implements NamingContainer
Modifier and Type | Field and Description |
---|---|
static String |
VOCABULARY_SCHEMA |
static String |
XVOCABULARY_SCHEMA
Directory with a parent column.
|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
SEPARATOR_CHAR
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowBranchSelection() |
String |
getComponentId(int level) |
String |
getDefaultRootKey() |
int |
getDepth() |
String[] |
getDirectories() |
String |
getDirectory(int level) |
List<DirectoryEntry> |
getDirectoryEntries(int level,
String[] selectedKeys)
Computes the items that should be displayed for the nth listbox,
depending on the options that have been selected in the previous ones.
|
String |
getDirectoryNames() |
String |
getDisplay() |
boolean |
getDisplayValueOnly() |
String |
getKeySeparator() |
int |
getListboxSize() |
boolean |
getQualifiedParentKeys() |
String |
getReRender() |
abstract String[] |
getSelection() |
boolean |
getShowObsolete() |
String |
getStyle() |
String |
getStyleClass() |
boolean |
getTranslate() |
boolean |
isRecursive() |
List<DirectoryEntry> |
resolveKeys(String[] keys)
Resolves a list of keys (a selection) to a list of coresponding directory
items.
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setAllowBranchSelection(boolean allowBranchSelection) |
void |
setDefaultRootKey(String defaultRootKey) |
void |
setDepth(int depth) |
void |
setDirectoryNames(String directoryNames) |
void |
setDisplay(String display) |
void |
setDisplayValueOnly(boolean displayValueOnly) |
void |
setKeySeparator(String keySeparator) |
void |
setListboxSize(int listboxSize) |
void |
setReRender(String reRender) |
void |
setShowObsolete(boolean showObsolete) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTranslate(boolean translate) |
addValidator, addValueChangeListener, decode, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, getValue, setConverter
broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, 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 VOCABULARY_SCHEMA
public static final String XVOCABULARY_SCHEMA
public String getDirectory(int level)
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIInput
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIInput
public String[] getDirectories()
public boolean isRecursive()
public List<DirectoryEntry> getDirectoryEntries(int level, String[] selectedKeys)
level
- the index of the listbox for which to compute the itemsselectedKeys
- the keys for the items selected on the previous
levelspublic List<DirectoryEntry> resolveKeys(String[] keys)
keys
- public String getComponentId(int level)
public String getKeySeparator()
public void setKeySeparator(String keySeparator)
public String getDefaultRootKey()
public void setDefaultRootKey(String defaultRootKey)
public boolean getDisplayValueOnly()
public void setDisplayValueOnly(boolean displayValueOnly)
public int getListboxSize()
public void setListboxSize(int listboxSize)
public String getDisplay()
public void setDisplay(String display)
public boolean getQualifiedParentKeys()
public String getDirectoryNames()
public void setDirectoryNames(String directoryNames)
public int getDepth()
public void setDepth(int depth)
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public boolean getTranslate()
public void setTranslate(boolean translate)
public boolean getShowObsolete()
public void setShowObsolete(boolean showObsolete)
public boolean getAllowBranchSelection()
public void setAllowBranchSelection(boolean allowBranchSelection)
public String getReRender()
public void setReRender(String reRender)
public abstract String[] getSelection()
Copyright © 2013 Nuxeo SA. All Rights Reserved.