public class UIGenericPicker extends UICommand
Modifier and Type | Class and Description |
---|---|
static class |
UIGenericPicker.PickerEvent
Class representing the an action relevant to the Generic Selector component.
|
COMPONENT_FAMILY, COMPONENT_TYPE
Constructor and Description |
---|
UIGenericPicker()
Default constructor
|
addActionListener, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue
addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public String getFamily()
getFamily
in class UICommand
UIComponent.getFamily()
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UICommand
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UICommand
StateHolder.saveState(javax.faces.context.FacesContext)
public void decode(FacesContext context)
decode
in class UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UICommand
AbortProcessingException
UIComponentBase.broadcast(javax.faces.event.FacesEvent)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public SelectItem[] getFilterOptions()
public int getFilterIndex()
public String getSearchButtonLabel()
public void setSearchButtonLabel(String searchButtonLabel)
searchButtonLabel
- The searchButtonLabel to set.public String getAddButtonLabel()
public void setAddButtonLabel(String addButtonLabel)
addButtonLabel
- The addButtonLabel to set.public boolean getShowAddButton()
public void setShowAddButton(boolean showAddButton)
showAddButton
- The showAddButton to set.public boolean getShowContains()
public void setShowContains(boolean showContains)
showContains
- The showContains to set.public boolean getShowFilter()
public void setShowFilter(boolean showFilter)
showFilter
- The showFilter to set.public boolean getFilterRefresh()
public void setFilterRefresh(boolean filterRefresh)
filterRefresh
- The filterRefresh to set.public boolean getMultiSelect()
public void setMultiSelect(boolean multiSelect)
multiSelect
- Flag to determine whether multi select is enabledpublic int getWidth()
public void setWidth(int width)
width
- The width to set.public int getHeight()
public void setHeight(int height)
height
- The height to set.public MethodBinding getQueryCallback()
public void setQueryCallback(MethodBinding binding)
binding
- The queryCallback MethodBinding to set.public String[] getSelectedResults()
Copyright © 2005–2017 Alfresco Software. All rights reserved.