org.alfresco.web.ui.repo.component
Class UIAjaxCategoryPicker

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
                      extended by org.alfresco.web.ui.repo.component.UIAjaxCategoryPicker
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class UIAjaxCategoryPicker
extends BaseAjaxItemPicker

JSF Ajax object picker for navigating through and selecting categories.


Field Summary
 
Fields inherited from class org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
ACTION_CANCEL, ACTION_DONE, disabled, EMPTY, FOLDER_IMAGE_PREFIX, height, ID_ICON, ID_ID, ID_NAME, initialSelectionId, label, MSG_CANCEL, MSG_GO_UP, MSG_OK, singleSelect
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
UIAjaxCategoryPicker()
           
 
Method Summary
protected  java.lang.String getDefaultIcon()
           
 java.lang.String getFamily()
           
protected  java.lang.String getServiceCall()
           
 
Methods inherited from class org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
decode, encodeBegin, getHeight, getHiddenFieldName, getInitialSelection, getItemJson, getLabel, getRequestAttributes, getSingleSelect, isDisabled, restoreState, saveState, setDisabled, setHeight, setInitialSelection, setLabel, setSingleSelect
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Constructor Detail

UIAjaxCategoryPicker

public UIAjaxCategoryPicker()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class BaseAjaxItemPicker
See Also:
UIComponent.getFamily()

getServiceCall

protected java.lang.String getServiceCall()
Specified by:
getServiceCall in class BaseAjaxItemPicker
Returns:
the ajax service bean call, for instance 'PickerBean.getFolderNodes'

getDefaultIcon

protected java.lang.String getDefaultIcon()
Specified by:
getDefaultIcon in class BaseAjaxItemPicker
Returns:
default icon for the picker - if null then assume 'icon' property is always returned in service call results JSON objects.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.