Class EnumRadioGroupComponent<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>,IEnumRadioGroupParameterization,RadioGroupViewModel>
  
com._1c.g5.v8.dt.ui.aef.component.EnumRadioGroupComponent<T>
- All Implemented Interfaces:
- IComponent<IValue<T>>,- IEventChannel
public class EnumRadioGroupComponent<T>
extends AbstractControlComponent<IValue<T>,IEnumRadioGroupParameterization,RadioGroupViewModel>  
The enum radio group component.
 It operates model as a one of possible enum values represented as options in radio group.
- 
Nested Class SummaryNested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
- 
Constructor SummaryConstructorsConstructorDescriptionEnumRadioGroupComponent(IEnumRadioGroupParameterization parameterization) Creates a newEnumRadioGroupComponent.
- 
Method SummaryModifier and TypeMethodDescriptionprotected RadioGroupViewModelCreates control view model instance.protected ILabelProviderCreate label provider for values from this enum componentprotected IMapper<T,RadioGroupItemViewModel> CreatesIMapperthat maps the domain model values on view model items.voiddispose()Disposes this component, its view models and its child components.Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponentcreateViewModels, disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.ComponentaddComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, 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 Details- 
EnumRadioGroupComponentCreates a newEnumRadioGroupComponent.- Parameters:
- parameterization- the parameterization of the component, cannot be- null
 
 
- 
- 
Method Details- 
disposepublic void dispose()Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
- disposein interface- IComponent<T>
- Overrides:
- disposein class- Component<IValue<T>,- IEnumRadioGroupParameterization> 
 
- 
createControlViewModelDescription copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
- createControlViewModelin class- AbstractControlComponent<IValue<T>,- IEnumRadioGroupParameterization, - RadioGroupViewModel> 
- Returns:
- a newly created control view model.
 
- 
createEnumLabelProviderCreate label provider for values from this enum component - Returns:
- label provider for enum component, never null
 
- 
createMapperCreatesIMapperthat maps the domain model values on view model items.- Returns:
- a new instance of mapper.
 
 
-