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
The section component.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
ConstructorsConstructorDescriptionSectionComponent(ISectionParameterization parameterization) Creates a new section component instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected IContainerViewModelCreates the view model of the container.voiddispose()Disposes this component, its view models and its child components.protected voidDisposes the view models of this component.protected SectionViewModelprotected voidHandles the section action.Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponent
getLayout, setLayout, setLayoutData, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, textMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.Component
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
-
SectionComponent
Creates a new section component instance.- Parameters:
parameterization- the parameterization.
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
disposein interfaceIComponent<IModel>- Overrides:
disposein classComponent<IModel,ISectionParameterization>
-
createContainerViewModel
Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
createContainerViewModelin classCompositeComponent<IModel,ISectionParameterization> - Returns:
- the newly created container view model.
-
handleAction
Handles the section action. Override to handle the givenSectionActionItemViewModel.- Parameters:
action- the action view model.
-
disposeViewModels
protected 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 classStandardComponent<IModel,ISectionParameterization>
-
getSectionViewModel
- Returns:
- the section view model.
-