Class FreeAutocompleteListField

java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.CtlInputWidget
com.axemble.vdp.ui.framework.widgets.list.CtlAbstractList
com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleSelection
com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleComponent
com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleSelectionComponent
com.axemble.vdp.ui.framework.widgets.CtlAutocompleteList
com.axemble.vdp.ui.core.document.fields.AutocompleteListField
com.vdoc.sdk.commons.ui.document.fields.FreeAutocompleteListField
All Implemented Interfaces:
IWidget, IWritable, com.axemble.vdp.ui.core.document.fields.IFieldControl, com.axemble.vdp.ui.core.document.fields.IFieldListControl, com.axemble.vdp.ui.framework.widgets.components.sys.base.ICtlInputWidgetComponent, com.axemble.vdp.utils.parameters.ParamsHandler, Serializable

public class FreeAutocompleteListField extends com.axemble.vdp.ui.core.document.fields.AutocompleteListField
Free autocomplete list field
Author:
vmartinon
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.axemble.vdp.ui.framework.widgets.CtlAutocompleteList

    com.axemble.vdp.ui.framework.widgets.CtlAutocompleteList.ResetType
  • Field Summary

    Fields inherited from class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleComponent

    inputComponent

    Fields inherited from class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleSelection

    selected

    Fields inherited from class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractList

    comparator, options

    Fields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget

    accessKey, includeErrorInfo, mandatory, quickCreateLink, stringRecipient, tabIndex, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRules

    Fields inherited from class com.axemble.vdp.ui.framework.foundation.Widget

    actionListeners, isHidden, param, parentBlock, sysname, userId

    Fields inherited from class com.axemble.vdp.ui.framework.foundation.Component

    changeListeners, LOGGER

    Fields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandler

    ERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected final com.axemble.vdp.ui.framework.template.TemplateWriter
    getTemplateWriter(String relativePath)
     
    Render the widget
    boolean
    validate(boolean checkMandatory)
     

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlAutocompleteList

    allowReset, getCssClass, getEmptyValue, getJavascriptBeforeFireMessage, getLengthBeforeFireRequest, getMaxDisplayedItems, getResetType, getSize, getTextboxAutoComplete, getTimeBeforeFireRequest, getUrlCallAjax, getUrlOpenSelector, getValue, isAjax, isDisplaySelectionOutside, isSelector, setAjax, setCssClass, setDisplaySelectionOutside, setEmptyValue, setJavascriptBeforeFireMessage, setLengthBeforeFireRequest, setMaxDisplayedItems, setResetType, setSelector, setSize, setTimeBeforeFireRequest, setUrlCallAjax, setUrlOpenSelector, setValue

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleSelectionComponent

    clearSelection, getList, getSelectedCount, getSelectedIndex, getSelectedKey, getSelectedLabel, getSelectedOption, getSelectedParam, isEmpty, isIndexSelected, isKeySelected, isLabelSelected, isParamSelected, isSelected, isSelectionValid, setList, setOptions, setSelectedIndex, setSelectedIndex, setSelectedIndexes, setSelectedKey, setSelectedKey, setSelectedLabel, setSelectedOption, setSelectedParam

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleComponent

    addActionListener, addChangeListener, addOption, addRefreshButton, addValidationRule, buildFieldElement, canThrowEventsInWebBrowser, clearOptions, clearValidationRules, findStringRecipient, focus, getAbstractField, getAccessKey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getField, getFieldChangeListener, getHelpMessageIcon, getInputComponent, getJavascriptId, getOptionByKey, getOptionGroup, getOptions, getOptionsWithGrouping, getParentId, getQuickCreateLink, getTabIndex, getUserId, getValidationObject, getValidationRules, handleAction, handleNoParams, handleParams, handleParams, hasValidationRules, inform, init, init, init, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isHidden, isIncludeErrorInfo, isMandatory, isSortAlphabetically, isThrowDocumentChangedScript, isThrowEventsDefined, refresh, refreshWidgets, removeOption, removeOptionGroup, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setDescription, setEditable, setErrorInfo, setHidden, setIncludeErrorInfo, setInputComponent, setJavascriptId, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setSortAlphabetically, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setUserId, setValidationRules, updateControl, updateValue

    Methods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget

    getRefreshButton

    Methods inherited from class com.axemble.vdp.ui.framework.foundation.Widget

    afterInit, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, getJavaScriptFocusScript, getParam, getParentBlock, getSysname, getUserDisplayName, hasActionListeners, removeActionListener, removeActionListeners, renderMobile, setParam, setParentBlock, setSysname, write

    Methods inherited from class com.axemble.vdp.ui.framework.foundation.Component

    createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners, stateChanged

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControl

    addValidationRule, clearValidationRules, getAbstractField, getField, getFieldChangeListener, getUserId, getValidationRules, hasValidationRules, inform, init, init, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId, updateControl, updateValue

    Methods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldListControl

    getList, setList
  • Constructor Details

    • FreeAutocompleteListField

      public FreeAutocompleteListField()
  • Method Details

    • getFreeValue

      public String getFreeValue()
    • render

      public IWritable render() throws RenderException
      Description copied from interface: IWidget
      Render the widget
      Specified by:
      render in interface IWidget
      Overrides:
      render in class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleComponent
      Returns:
      writableWidget
      Throws:
      RenderException
    • getTemplateWriter

      protected final com.axemble.vdp.ui.framework.template.TemplateWriter getTemplateWriter(String relativePath) throws RenderException
      Throws:
      RenderException
    • validate

      public boolean validate(boolean checkMandatory)
      Specified by:
      validate in interface com.axemble.vdp.ui.core.document.fields.IFieldControl
      Overrides:
      validate in class com.axemble.vdp.ui.framework.widgets.list.CtlAbstractListSingleComponent