Class SectionComponent
- 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.ContainerComponent<M,P>
- 
- com._1c.g5.aef2.standard.components.CompositeComponent<IModel,ISectionParameterization>
- 
- com._1c.g5.aef2.standard.components.SectionComponent
 
 
 
 
 
- 
- All Implemented Interfaces:
- IComponent<IModel>,- IEventChannel
 
 public class SectionComponent extends CompositeComponent<IModel,ISectionParameterization> The section component.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description SectionComponent(ISectionParameterization parameterization)Creates a new section component instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IContainerViewModelcreateContainerViewModel()Creates the view model of the container.voiddispose()Disposes this component, its view models and its child components.protected voiddisposeViewModels()Disposes the view models of this component.protected SectionViewModelgetSectionViewModel()protected voidhandleAction(SectionActionItemViewModel action)Handles the section action.- 
Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponentgetLayout, setLayout, setLayoutData, updateViewModels
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponentaddComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
 - 
Methods inherited from class com._1c.g5.aef2.components.ComponentaddListener, 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 Detail- 
SectionComponentpublic SectionComponent(ISectionParameterization parameterization) Creates a new section component instance.- Parameters:
- parameterization- the parameterization.
 
 
- 
 - 
Method Detail- 
disposepublic void dispose() Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
- disposein interface- IComponent<IModel>
- Overrides:
- disposein class- Component<IModel,ISectionParameterization>
 
 - 
createContainerViewModelprotected IContainerViewModel createContainerViewModel() Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
- createContainerViewModelin class- CompositeComponent<IModel,ISectionParameterization>
- Returns:
- the newly created container view model.
 
 - 
handleActionprotected void handleAction(SectionActionItemViewModel action) Handles the section action. Override to handle the givenSectionActionItemViewModel.- Parameters:
- action- the action view model.
 
 - 
disposeViewModelsprotected void disposeViewModels() Description copied from class:ComponentDisposes the view models of this component. Override it to do some additional disposal operations specific to a component.- Overrides:
- disposeViewModelsin class- StandardComponent<IModel,ISectionParameterization>
 
 - 
getSectionViewModelprotected SectionViewModel getSectionViewModel() - Returns:
- the section view model.
 
 
- 
 
-