@DesignerControl(defaultWidth=3) @DocumentedComponent(category=INPUTS_AND_VALIDATION, value="InputText component is responsible for displaying simple field, where user can write some data plus label representing this field.", icon="fa fa-edit") @Control(parents={PanelGroup.class,Column.class,ColumnOptimized.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class,Group.class}, invalidParents=Table.class, canBeDesigned=true) @OverridenPropertyAnnotations(property="modelBinding", designerXmlProperty=@DesignerXMLProperty(allowedTypes=java.lang.String.class,commonUse=true,previewValueProvider=InputFieldDesignerPreviewProvider.class,priority=80,functionalArea=CONTENT)) public class InputText extends BaseInputFieldWithKeySupport implements IBodyXml
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 |
|---|---|
InputText |
createNewSameComponent()
Create a new component of the same type.
|
protected ValidationManager<BaseInputField> |
createValidationManager() |
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.
|
String |
getBodyAttributeName() |
Optional<ActionBinding> |
getEventHandler(InMessageEventData eventData) |
Optional<String> |
getOptionalFormatter() |
void |
init() |
void |
setBody(String body) |
void |
setOnInput(ActionBinding onInput) |
IActionCallbackContext |
setOnInput(IActionCallback onInput) |
ElementChanges |
updateView() |
setOnKeyEvent, setOnKeyEventcalculateAvailability, calculatePresentationStyle, checkBinding, convertMainValueToString, convertToRaw, getAllBingings, getTargetModelBinding, prepareComponentAfterValidation, processAutocompleteBinding, processCoversionException, processLabelBinding, processPresentationStyle, processStylesAndHints, processValidationForThisComponent, processValueBinding, setLabelModelBindingAdHoc, setModelBindingAdHoc, setOnChange, setOnChange, updateModel, 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, 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, waitshouldWriteToBodygetKeyEvent, getKeyEventHandler, getKeyEventHandlers, getOnKeyEvent, initKeyHandlers, setKeyEvent, setKeyEventHandlersgetIcon, getIconAlignment, getIconBinding, resolveIconBindingupdateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetGroupingParentComponent, getId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationdoCopy, getCopy, getCopygetLabelModelBindingisDesignActionAllowed, isDesignDeletableisModificationEventpublic InputText(Form form)
public void init()
init in class BaseInputFieldWithKeySupportpublic Optional<ActionBinding> getEventHandler(InMessageEventData eventData)
getEventHandler in interface IEventSourcegetEventHandler in class BaseInputFieldWithKeySupportpublic Optional<String> getOptionalFormatter()
getOptionalFormatter in interface Boundablepublic InputText createNewSameComponent()
TableComponentcreateNewSameComponent in interface TableComponent<BaseInputField>public 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 typepublic String getBodyAttributeName()
getBodyAttributeName in interface IBodyXmlpublic ElementChanges updateView()
updateView in class BaseInputFieldprotected ValidationManager<BaseInputField> createValidationManager()
createValidationManager in class BaseInputFieldpublic void setOnInput(ActionBinding onInput)
public IActionCallbackContext setOnInput(IActionCallback onInput)
Copyright © 2020. All rights reserved.