public abstract class BaseInputListField extends BaseInputField
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
emptyLabel |
protected int |
newIndex |
protected List<?> |
presentedValues |
protected static String |
SELECTED_INDEX |
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_ATTRACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
BaseInputListField(Form form) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areValuesEqual(List<String> list1,
List<String> list2) |
protected List<?> |
calculateBindingValues() |
protected List<?> |
calculateBindingValues(List<?> value) |
protected List<String> |
calculateRawValuesCollection(List<?> values,
String converter) |
protected String |
convertMainValueToString(Object value,
Optional<String> converterName) |
void |
doCopy(Table table,
Map<String,String> iteratorReplacements,
BaseInputField inputFieldClone)
Copies values of attributes with replaced iterators in bindings and actions to a new component of the same type.
|
protected Object |
getChosenObjectAndSetIndex(String newValue) |
Optional<String> |
getOptionalFormatter() |
void |
updateModel(ValueChange valueChange) |
ElementChanges |
updateView() |
calculateAvailability, calculatePresentationStyle, checkBinding, convertToRaw, createValidationManager, getAllBingings, getEventHandler, getTargetModelBinding, init, prepareComponentAfterValidation, processCoversionException, processLabelBinding, processPresentationStyle, processStylesAndHints, processValidationForThisComponent, processValueBinding, setLabelModelBindingAdHoc, setModelBindingAdHoc, setOnChange, setOnChange, validategetConfirmationMsg, getConfirmationMsgBinding, getConfirmOnEvent, processConfirmationMsgBinding, setConfirmationMsg, setConfirmationMsgBinding, setConfirmOnEventgetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, 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, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetIcon, getIconAlignment, getIconBinding, resolveIconBindingupdateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationcreateNewSameComponent, doCopy, getCopy, getCopygetLabelModelBindingisDesignActionAllowed, isDesignDeletableisModificationEventprotected static final String SELECTED_INDEX
protected int newIndex
protected List<?> presentedValues
@XMLProperty @DocumentedComponentAttribute(defaultValue="false", value="Determines if empty value should be displayed on list of options.") @DesignerXMLProperty(priority=60, functionalArea=CONTENT) protected boolean emptyLabel
public BaseInputListField(Form form)
public void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientupdateModel in class BaseInputFieldpublic ElementChanges updateView()
updateView in class BaseInputFieldprotected List<?> calculateBindingValues()
protected List<String> calculateRawValuesCollection(List<?> values, String converter)
public void doCopy(Table table, Map<String,String> iteratorReplacements, BaseInputField inputFieldClone)
TableComponentdoCopy in interface TableComponent<BaseInputField>doCopy in class BaseInputFieldtable - tableiteratorReplacements - iterator replacementsinputFieldClone - a new component of the same typeprotected String convertMainValueToString(Object value, Optional<String> converterName)
convertMainValueToString in class BaseInputFieldCopyright © 2020. All rights reserved.