@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=INPUTS_AND_VALIDATION, documentationExample=true, value="RadioOption represents single radio component", icon="fa fa-circle", ignoreFields={"emptyValue","emptyLabel"}) public class RadioOption extends BaseInputField implements IPairableComponent<String>
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_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
RadioOption(Form form) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBinding() |
protected String |
convertToRaw(BindingResult<?> bindingResult) |
RadioOption |
createNewSameComponent()
Create a new component of the same type.
|
protected ValidationManager<BaseInputField> |
createValidationManager() |
List<ModelBinding> |
getAllBingings() |
String |
getPairDiscriminator() |
protected ModelBinding |
getTargetModelBinding() |
boolean |
isChecked() |
void |
setPairData(String data) |
void |
updateModel(ValueChange valueChange) |
ElementChanges |
updateView() |
calculateAvailability, calculatePresentationStyle, convertMainValueToString, doCopy, getEventHandler, init, 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 RadioOption(Form form)
public RadioOption createNewSameComponent()
TableComponentcreateNewSameComponent in interface TableComponent<BaseInputField>public void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientupdateModel in class BaseInputFieldpublic void setPairData(String data)
setPairData in interface IPairableComponent<String>public String getPairDiscriminator()
getPairDiscriminator in interface IPairableComponent<String>public boolean isChecked()
protected void checkBinding()
checkBinding in class BaseInputFieldprotected String convertToRaw(BindingResult<?> bindingResult)
convertToRaw in class BaseInputFieldprotected ValidationManager<BaseInputField> createValidationManager()
createValidationManager in class BaseInputFieldprotected ModelBinding getTargetModelBinding()
getTargetModelBinding in class BaseInputFieldpublic List<ModelBinding> getAllBingings()
getAllBingings in interface IValidatedComponentgetAllBingings in class BaseInputFieldpublic ElementChanges updateView()
updateView in class BaseInputFieldCopyright © 2020. All rights reserved.