Klasse TagComboBox<RECORD>
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.field.AbstractField<List<RECORD>>
org.teamapps.ux.component.field.combobox.AbstractComboBox<RECORD,List<RECORD>>
org.teamapps.ux.component.field.combobox.TagComboBox<RECORD>
- Alle implementierten Schnittstellen:
ClientObject,Component,TextInputHandlingField
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungVon Klasse geerbte Felder org.teamapps.ux.component.field.combobox.AbstractComboBox
freeTextRecordFactory, onSpecialKeyPressed, onTextInput, recordCacheVon Klasse geerbte Felder org.teamapps.ux.component.field.AbstractField
onBlur, onFocus, onValueChanged, onVisibilityChangedVon Klasse geerbte Felder org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungconvertUiValueToUxValue(Object value) convertUxValueToUiValue(List<RECORD> uxValue) Converts a server-side value to a client-side field-specific value.static <ENUM extends Enum>
TagComboBox<ENUM> createForEnum(Class<ENUM> enumClass) static <R> TagComboBox<R> createForList(List<R> staticData) static <R> TagComboBox<R> createForList(List<R> staticData, Template template) static <R> TagComboBox<R> createForList(List<R> staticData, TreeNodeInfoExtractor<R> treeNodeInfoExtractor) org.teamapps.dto.UiFieldintbooleanprotected booleanisEmptyValue(List<RECORD> records) Whether this value be regarded as empty / "no user input".booleanvoidsetDistinct(boolean distinct) voidsetFreeTextEntries(List<String> freeTextEntries) voidsetMaxEntries(int maxEntries) voidsetTwoStepDeletion(boolean twoStepDeletion) voidvoidsetWrappingMode(TagBoxWrappingMode wrappingMode) Von Klasse geerbte Methoden org.teamapps.ux.component.field.combobox.AbstractComboBox
addParentLinkToUiRecord, createUiTreeRecordWithoutParentRelation, getDropDownMaxHeight, getDropDownMinWidth, getDropDownTemplate, getDropdownTemplateDecider, getEmptyText, getFreeTextRecordFactory, getModel, getPropertyProvider, getRecordToStringFunction, getSelectedEntryTemplate, getSelectedEntryTemplateDecider, getTextHighlightingEntryLimit, handleUiEvent, handleUiQuery, isAllowFreeText, isAnimate, isAutoComplete, isDistinctModelResultFiltering, isDropDownButtonVisible, isFreeTextEntry, isHighlightFirstResultEntry, isShowClearButton, isShowDropDownAfterResultsArrive, isShowExpanders, isShowHighlighting, mapCommonUiComboBoxProperties, onSpecialKeyPressed, onTextInput, setAllowFreeText, setAnimate, setAutoComplete, setDistinctModelResultFiltering, setDropDownButtonVisible, setDropDownMaxHeight, setDropDownMinWidth, setDropDownTemplate, setDropdownTemplateDecider, setEmptyText, setFreeTextRecordFactory, setHighlightFirstResultEntry, setModel, setPropertyExtractor, setPropertyProvider, setRecordToStringFunction, setSelectedEntryTemplate, setSelectedEntryTemplateDecider, setShowClearButton, setShowDropDownAfterResultsArrive, setShowExpanders, setShowHighlighting, setTemplate, setTemplateDecider, setTextHighlightingEntryLimitVon Klasse geerbte Methoden org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, clearValidatorMessages, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, isEmpty, isRequired, isValid, isValueChangedByClient, isValueLocked, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setRequiredIfVisibleAndEditable, setValueChangedByClient, setVisible, validateVon Klasse geerbte Methoden org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, toggleCssClass, toString, unrenderVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClassVon Schnittstelle geerbte Methoden org.teamapps.ux.component.field.TextInputHandlingField
defaultHandleTextInputEvent
-
Felddetails
-
onFreeTextEntered
-
onFreeTextRemoved
-
-
Konstruktordetails
-
TagComboBox
public TagComboBox() -
TagComboBox
-
TagComboBox
-
-
Methodendetails
-
getSelectedRecords
- Angegeben von:
getSelectedRecordsin KlasseAbstractComboBox<RECORD,List<RECORD>>
-
createForList
-
createForList
-
createForList
public static <R> TagComboBox<R> createForList(List<R> staticData, TreeNodeInfoExtractor<R> treeNodeInfoExtractor) -
createForEnum
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()- Angegeben von:
createUiComponentin KlasseAbstractComponent
-
setValue
- Setzt außer Kraft:
setValuein KlasseAbstractField<List<RECORD>>
-
convertUiValueToUxValue
- Setzt außer Kraft:
convertUiValueToUxValuein KlasseAbstractField<List<RECORD>>
-
isEmptyValue
Beschreibung aus Klasse kopiert:AbstractFieldWhether this value be regarded as empty / "no user input". Override for field-specific behaviour.- Setzt außer Kraft:
isEmptyValuein KlasseAbstractField<List<RECORD>>- Gibt zurück:
- true if the value can be regarded as "empty".
-
convertUxValueToUiValue
Beschreibung aus Klasse kopiert:AbstractFieldConverts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!- Setzt außer Kraft:
convertUxValueToUiValuein KlasseAbstractField<List<RECORD>>- Parameter:
uxValue- the server-side value- Gibt zurück:
- the object to be sent to the ui
-
getMaxEntries
public int getMaxEntries() -
setMaxEntries
public void setMaxEntries(int maxEntries) -
getWrappingMode
-
setWrappingMode
-
isDistinct
public boolean isDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
getFreeTextEntries
-
setFreeTextEntries
-
isTwoStepDeletion
public boolean isTwoStepDeletion() -
setTwoStepDeletion
public void setTwoStepDeletion(boolean twoStepDeletion)
-