@OverridenPropertyAnnotations(designerXmlProperty=@DesignerXMLProperty(skip=true),property="value") @OverridenPropertyAnnotations(designerXmlProperty=@DesignerXMLProperty(skip=true),property="modelBinding") @OverridenPropertyAnnotations(designerXmlProperty=@DesignerXMLProperty(skip=true),property="rawValue") @DesignerControl(defaultWidth=12) @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) @DocumentedComponent(category=IMAGE_HTML_MD, documentationExample=true, value="Visual HTML text editor. Allows visual editing of text in HTML markup.", icon="fa fa-eye") public class HtmlEditor extends BaseInputField
Component.ComponentAttr, Component.IGenerationUtils| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_TEXT |
AUTOCOMPLETE_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_LABELhtmlAccessibilityRoleACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
HtmlEditor(Form form) |
| Modifier and Type | Method and Description |
|---|---|
HtmlEditor |
createNewSameComponent()
Create a new component of the same type.
|
void |
init() |
void |
updateModel(ValueChange valueChange) |
ElementChanges |
updateView() |
calculateAvailability, calculatePresentationStyle, checkBinding, convertMainValueToString, convertToRaw, createValidationManager, doCopy, getAllBingings, getEventHandler, getTargetModelBinding, prepareComponentAfterValidation, processAutocompleteBinding, processCoversionException, processLabelBinding, processPresentationStyle, processStylesAndHints, processValidationForThisComponent, processValueBinding, setLabelModelBindingAdHoc, setModelBindingAdHoc, setOnChange, setOnChange, 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, waitgetIcon, getIconAlignment, getIconBinding, resolveIconBindinggetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetGroupingParentComponent, getId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationdoCopy, getCopy, getCopygetLabelModelBindingisDesignActionAllowed, isDesignDeletableisModificationEventpublic static final String ATTR_TEXT
public HtmlEditor(Form form)
public void init()
init in class BaseInputFieldpublic ElementChanges updateView()
updateView in class BaseInputFieldpublic void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientupdateModel in class BaseInputFieldpublic HtmlEditor createNewSameComponent()
TableComponentCopyright © 2020. All rights reserved.