@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,
value="RadioOption represents single radio component",
icon="fa fa-circle",
ignoreFields={"emptyValue","emptyLabel"})
public class RadioOption
extends BaseInputField
implements pl.fhframework.model.forms.IPairableComponent<String>
LABEL_ATTR, MESSAGE_FOR_FIELD_ATTR, ON_CHANGE_ATTR, PRESENTATION_STYLE_ATTR, RAW_VALUE_ATTR, REQUIRED_ATTR, VALIDATION_LABEL_ATTR, validationManager, validConversion, VALUE_ATTR| Constructor and Description |
|---|
RadioOption(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBinding() |
protected String |
convertToRaw(pl.fhframework.BindingResult<?> bindingResult) |
RadioOption |
createNewSameComponent()
Create a new component of the same type.
|
protected pl.fhframework.validation.ValidationManager<BaseInputField> |
createValidationManager() |
List<pl.fhframework.binding.ModelBinding> |
getAllBingings() |
String |
getPairDiscriminator() |
protected pl.fhframework.binding.ModelBinding |
getTargetModelBinding() |
boolean |
isChecked() |
void |
setPairData(String data) |
void |
updateModel(pl.fhframework.model.dto.ValueChange valueChange) |
pl.fhframework.model.dto.ElementChanges |
updateView() |
calculateAvailability, calculatePresentationStyle, convertMainValueToString, doCopy, getEventHandler, 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, resolveIconBindinggetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetId, getLabel, getModelBinding, getPresentationStyle, getValidationLabelModelBinding, skipSettingPresentationdoCopy, getCopy, getCopypublic RadioOption createNewSameComponent()
TableComponentcreateNewSameComponent in interface TableComponent<BaseInputField>public void updateModel(pl.fhframework.model.dto.ValueChange valueChange)
updateModel in interface pl.fhframework.model.forms.IChangeableByClientupdateModel in class BaseInputFieldpublic void setPairData(String data)
setPairData in interface pl.fhframework.model.forms.IPairableComponent<String>public String getPairDiscriminator()
getPairDiscriminator in interface pl.fhframework.model.forms.IPairableComponent<String>public boolean isChecked()
protected void checkBinding()
checkBinding in class BaseInputFieldprotected String convertToRaw(pl.fhframework.BindingResult<?> bindingResult)
convertToRaw in class BaseInputFieldprotected pl.fhframework.validation.ValidationManager<BaseInputField> createValidationManager()
createValidationManager in class BaseInputFieldprotected pl.fhframework.binding.ModelBinding getTargetModelBinding()
getTargetModelBinding in class BaseInputFieldpublic List<pl.fhframework.binding.ModelBinding> getAllBingings()
getAllBingings in interface pl.fhframework.core.forms.IValidatedComponentgetAllBingings in class BaseInputFieldpublic pl.fhframework.model.dto.ElementChanges updateView()
updateView in class BaseInputFieldCopyright © 2019. All rights reserved.