@DesignerControl(defaultWidth=3) @DocumentedComponent(category=INPUTS_AND_VALIDATION, value="Component responsible for displaying field, where user can set only date.", icon="fa fa-calendar") @Control(parents={PanelGroup.class,Column.class,ColumnOptimized.class,ColumnOptimized.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Group.class,Repeater.class}, invalidParents=Table.class, canBeDesigned=true) @OverridenPropertyAnnotations(property="modelBinding", designerXmlProperty=@DesignerXMLProperty(allowedTypes={java.time.LocalDate.class,java.lang.String.class},commonUse=true,previewValueProvider=InputFieldDesignerPreviewProvider.class,priority=80,functionalArea=CONTENT)) public class InputDate extends BaseInputFieldWithKeySupport
Component.ComponentAttr, Component.IGenerationUtilsAUTOCOMPLETE_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| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areModelValuesTheSame(Object firstValue,
Object secondValue) |
InputDate |
createNewSameComponent()
Create a new component of the same type.
|
void |
doCopy(Table table,
Map<String,String> iteratorReplacements,
BaseInputField baseClone)
Copies values of attributes with replaced iterators in bindings and actions to a new component of the same type.
|
protected void |
processCoversionException(FhBindingException cfe) |
getEventHandler, init, setOnKeyEvent, setOnKeyEventcalculateAvailability, calculatePresentationStyle, checkBinding, convertMainValueToString, convertToRaw, createValidationManager, getAllBingings, getTargetModelBinding, prepareComponentAfterValidation, processAutocompleteBinding, processLabelBinding, processPresentationStyle, processStylesAndHints, processValidationForThisComponent, processValueBinding, setLabelModelBindingAdHoc, setModelBindingAdHoc, setOnChange, setOnChange, updateModel, updateView, validategetConfirmationMsg, 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, tryParseAttributeInPixelUnitareValuesTheSame, 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, waitgetKeyEvent, getKeyEventHandler, getKeyEventHandlers, getOnKeyEvent, initKeyHandlers, setKeyEvent, setKeyEventHandlersgetIcon, getIconAlignment, getIconBinding, resolveIconBindinggetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetGroupingParentComponent, getId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationdoCopy, getCopy, getCopygetLabelModelBindingisDesignActionAllowed, isDesignDeletableisModificationEventpublic InputDate(Form container)
public InputDate createNewSameComponent()
TableComponentpublic void doCopy(Table table, Map<String,String> iteratorReplacements, BaseInputField baseClone)
TableComponentdoCopy in interface TableComponent<BaseInputField>doCopy in class BaseInputFieldtable - tableiteratorReplacements - iterator replacementsbaseClone - a new component of the same typeprotected void processCoversionException(FhBindingException cfe)
processCoversionException in class BaseInputFieldprotected boolean areModelValuesTheSame(Object firstValue, Object secondValue)
areModelValuesTheSame in class ComponentCopyright © 2020. All rights reserved.