public abstract class ChainSelectBase
extends javax.faces.component.UIInput
implements javax.faces.component.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, VALIDATE_EMPTY_FIELDS_PARAM_NAME
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(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.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, clearInitialState, decode, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, setConverter
addClientBehavior, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRendererType, 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 VOCABULARY_SCHEMA
public static final String XVOCABULARY_SCHEMA
public String getDirectory(int level)
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 context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.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 © 2015 Nuxeo SA. All rights reserved.