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 IContainerViewModel
Creates the view model of the container.void
dispose()
Disposes this component, its view models and its child components.protected void
Disposes the view models of this component.protected SectionViewModel
protected void
Handles the section action.Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponent
getLayout, setLayout, setLayoutData, updateViewModels
Methods 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, text
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
Methods 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:IComponent
Disposes this component, its view models and its child components.- Specified by:
dispose
in interfaceIComponent<IModel>
- Overrides:
dispose
in classComponent<IModel,
ISectionParameterization>
-
createContainerViewModel
Description copied from class:ContainerComponent
Creates the view model of the container.- Overrides:
createContainerViewModel
in 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:Component
Disposes the view models of this component. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeViewModels
in classStandardComponent<IModel,
ISectionParameterization>
-
getSectionViewModel
- Returns:
- the section view model.
-