@DocumentedComponent(documentationExample=true, value="Enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.", icon="fa fa-outdent") @Control(parents={PanelGroup.class,Group.class,Column.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class}, invalidParents=Table.class, canBeDesigned=false) public class DictionaryCombo extends Combo implements IGroupingComponent<DictionaryComboParameter>
Combo.ComboItemDTOComponent.ComponentAttr, Component.IGenerationUtils| Modifier and Type | Field and Description |
|---|---|
protected boolean |
multiselect |
ADDED_TAG, cleared, CLEARED, cursor, CURSOR, cursorBinding, filteredObjectValues, filteredValues, filterFunction, filterInvoked, filterText, firstLoad, freeTyping, modelType, MULTISELECT_RAW_VALUE_ATTR, multiselectRawValue, preload, rawValue, REMOVED_INDEX_ATTR, SELECTED_INDEX_ATTR, SELECTED_INDEX_GROUP_ATTR, SELECTED_ITEM_ATTR, selectedItem, selectedItemIndex, TEXT, valuesAUTOCOMPLETE_ATTR, HINT_INPUT_GROUP_ATTR, LABEL_ATTR, MESSAGE_FOR_FIELD_ATTR, ON_CHANGE_ATTR, PRESENTATION_STYLE_ATTR, RAW_VALUE_ATTR, REQUIRED_ATTR, VALIDATION_LABEL_ATTR, validationManager, validConversion, VALUE_ATTRCONFIRATION_MSG_ATTRariaLabel, ariaLabelBinding, ATTR_ARIA_LABELACCESSIBILITY, RESOLUTION_SIZEON_KEY_EVENT, ON_KEY_EVENT_HASHON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
DictionaryCombo(Form form) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubcomponent(DictionaryComboParameter component)
Adds component to the container.
|
protected void |
changeSelectedItemBinding() |
protected org.springframework.util.MultiValueMap<String,Combo.ComboItemDTO> |
collectValues(org.springframework.util.MultiValueMap<String,Object> valuesToConvert) |
ElementChanges |
comboParameterModelRefreash() |
List<DictionaryComboParameter> |
getParameters() |
List<DictionaryComboParameter> |
getSubcomponents() |
void |
init() |
protected String |
objectToString(Object s) |
protected void |
processFiltering(String text) |
protected boolean |
processValueBinding(ElementChanges elementChanges) |
protected boolean |
processValuesBinding() |
protected boolean |
processValuesExternal(String text) |
void |
removeSubcomponent(DictionaryComboParameter removedFormElement) |
convertToRaw, createNewSameComponent, doCopy, getAllBingings, getEventHandler, getOptionalFormatter, prepareComponentAfterValidation, processFilterBinding, processPresentationStyle, selectItemByFilterText, setFormatter, setOnDblSpecialKey, setOnEmptyValue, setOnEmptyValue, setOnInput, setOnInput, setOnSpecialKey, setOnSpecialKey, toRawValue, updateFilterTextBinding, updateModel, updateView, validatesetOnKeyEvent, setOnKeyEventcalculateAvailability, calculatePresentationStyle, checkBinding, convertMainValueToString, createValidationManager, getTargetModelBinding, processAutocompleteBinding, processCoversionException, processLabelBinding, processStylesAndHints, processValidationForThisComponent, setLabelModelBindingAdHoc, setModelBindingAdHoc, setOnChange, setOnChangegetConfirmationMsg, getConfirmationMsgBinding, getConfirmOnEvent, processConfirmationMsgBinding, setConfirmationMsg, setConfirmationMsgBinding, setConfirmOnEventgetAriaLabel, getAriaLabelBinding, setAriaLabelBinding, updateAriaLabelViewgetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHintType, getHorizontalAlign, getHtmlAccessibilityRole, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHintType, setHorizontalAlign, setHtmlAccessibilityRole, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGenerationUtils, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGenerationUtils, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitdoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, getNonVisualSubcomponents, processComponentsgetKeyEvent, getKeyEventHandler, getKeyEventHandlers, getOnKeyEvent, initKeyHandlers, setKeyEvent, setKeyEventHandlersgetIcon, getIconAlignment, getIconBinding, resolveIconBindingupdateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetGroupingParentComponent, getId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationdoCopy, getCopy, getCopygetLabelModelBindingisDesignActionAllowed, isDesignDeletableisModificationEventpublic DictionaryCombo(Form form)
public void init()
init in class BaseInputFieldWithKeySupportpublic List<DictionaryComboParameter> getParameters()
protected boolean processValuesBinding()
processValuesBinding in class Comboprotected boolean processValuesExternal(String text)
protected void processFiltering(String text)
processFiltering in class Combopublic void addSubcomponent(DictionaryComboParameter component)
addSubcomponent in interface IGroupingComponent<DictionaryComboParameter>public void removeSubcomponent(DictionaryComboParameter removedFormElement)
removeSubcomponent in interface IGroupingComponent<DictionaryComboParameter>public List<DictionaryComboParameter> getSubcomponents()
getSubcomponents in interface IGroupingComponent<DictionaryComboParameter>protected String objectToString(Object s)
objectToString in class Comboprotected void changeSelectedItemBinding()
changeSelectedItemBinding in class Comboprotected org.springframework.util.MultiValueMap<String,Combo.ComboItemDTO> collectValues(org.springframework.util.MultiValueMap<String,Object> valuesToConvert)
collectValues in class Comboprotected boolean processValueBinding(ElementChanges elementChanges)
processValueBinding in class Combopublic ElementChanges comboParameterModelRefreash()
Copyright © 2020. All rights reserved.