Class RadioGroupComponent<T>
- java.lang.Object
- 
- com._1c.g5.aef2.components.Component<M,P>
- 
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
- 
- com._1c.g5.aef2.standard.components.AbstractControlComponent<IValue<T>,IRadioGroupParameterization<T>,RadioGroupViewModel>
- 
- com._1c.g5.aef2.standard.components.RadioGroupComponent<T>
 
 
 
 
- 
- All Implemented Interfaces:
- IComponent<IValue<T>>,- IEventChannel
 
 public class RadioGroupComponent<T> extends AbstractControlComponent<IValue<T>,IRadioGroupParameterization<T>,RadioGroupViewModel> The radio group component. It operates model as a one of possible values represented as options in radio group.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description RadioGroupComponent(IRadioGroupParameterization<T> parameterization)Creates a newRadioGroupComponent.RadioGroupComponent(Collection<T> items, String title)Creates a newRadioGroupComponent.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RadioGroupViewModelcreateControlViewModel()Creates control view model instance.protected IMapper<T,RadioGroupItemViewModel>createMapper()CreatesIMapperthat maps the domain model values on view model items.protected StringgetItemLabel(T item)Get ui text representation for given item.- 
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponentcreateViewModels, disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
 - 
Methods inherited from class com._1c.g5.aef2.components.ComponentaddComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, dispose, disposeComponents, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
 
- 
 
- 
- 
- 
Constructor Detail- 
RadioGroupComponentpublic RadioGroupComponent(IRadioGroupParameterization<T> parameterization) Creates a newRadioGroupComponent.- Parameters:
- parameterization- the parameterization of the component.
 
 - 
RadioGroupComponentpublic RadioGroupComponent(Collection<T> items, String title) Creates a newRadioGroupComponent.- Parameters:
- items- the possible values collection.
- title- the title of the group.
 
 
- 
 - 
Method Detail- 
createControlViewModelprotected RadioGroupViewModel createControlViewModel() Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
- createControlViewModelin class- AbstractControlComponent<IValue<T>,IRadioGroupParameterization<T>,RadioGroupViewModel>
- Returns:
- a newly created control view model.
 
 - 
createMapperprotected IMapper<T,RadioGroupItemViewModel> createMapper() CreatesIMapperthat maps the domain model values on view model items.- Returns:
- a new instance of mapper.
 
 
- 
 
-