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 IContainerViewModelCreates the view model of the container.Returns theIAefLayoutinstance.voidsetLayout(IAefLayout layout) Sets layout object.voidsetLayoutData(IAefLayoutData layoutData) Sets the layout data object.voidUpdates 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, textMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, 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, 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 theIAefLayoutinstance.- Returns:
- the layout object or
null.
-
setLayoutData
Description copied from class:StandardComponentSets the layout data object.- Overrides:
setLayoutDatain classStandardComponent<M extends IModel,P extends IParameterization> - Parameters:
layoutData- the layout data to set, can benull.
-
updateViewModels
public void updateViewModels()Description copied from class:StandardComponentUpdates view models of the component. Override it to update view model properties according to current state of the component.- Overrides:
updateViewModelsin classContainerComponent<M extends IModel,P extends IParameterization>
-
createContainerViewModel
Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
createContainerViewModelin classContainerComponent<M extends IModel,P extends IParameterization> - Returns:
- the newly created container view model.
-