Class CompositeComponent<M extends IModel,P extends IParameterization>
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<M,P>
- All Implemented Interfaces:
IComponent<M>
,IEventChannel
- Direct Known Subclasses:
AbstractTabFolderComponent
,AddInUploadButtonsComponent
,BinaryDataComponent
,CommonPictureContentEditComponent
,DefinitionDrivenComponent
,GridLayoutCompositeComponent
,PredefinedAccountComponent
,PredefinedCalculationTypeComponent
,PropertyPaletteComponent
,ScrolledCompositeComponent
,SectionComponent
,UserRulesComponent
,VendorRulesComponent
public class CompositeComponent<M extends IModel,P extends IParameterization>
extends ContainerComponent<M,P>
The composite component.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeComponent
(P parameterization) Creates a new composite component instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected IContainerViewModel
Creates the view model of the container.Returns theIAefLayout
instance.void
setLayout
(IAefLayout layout) Sets layout object.void
setLayoutData
(IAefLayoutData layoutData) Sets the layout data object.void
Updates view models of the component.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, disposeViewModels, 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, 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 Details
-
CompositeComponent
Creates a new composite component instance.- Parameters:
parameterization
- the parameterization.
-
-
Method Details
-
setLayout
Sets layout object.- Parameters:
layout
- the layout to set, can benull
.
-
getLayout
Returns theIAefLayout
instance.- Returns:
- the layout object or
null
.
-
setLayoutData
Description copied from class:StandardComponent
Sets the layout data object.- Overrides:
setLayoutData
in classStandardComponent<M extends IModel,
P extends IParameterization> - Parameters:
layoutData
- the layout data to set, can benull
.
-
updateViewModels
public void updateViewModels()Description copied from class:StandardComponent
Updates view models of the component. Override it to update view model properties according to current state of the component.- Overrides:
updateViewModels
in classContainerComponent<M extends IModel,
P extends IParameterization>
-
createContainerViewModel
Description copied from class:ContainerComponent
Creates the view model of the container.- Overrides:
createContainerViewModel
in classContainerComponent<M extends IModel,
P extends IParameterization> - Returns:
- the newly created container view model.
-