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,CommonPictureContentEditComponent,DefinitionDrivenComponent,GridLayoutCompositeComponent,PropertyPaletteComponent,ScrolledCompositeComponent,SectionComponent
public class CompositeComponent<M extends IModel,P extends IParameterization> extends ContainerComponent<M,P>
The composite component.- See Also:
IContainerControlViewModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description CompositeComponent(P parameterization)Creates a new composite component instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IContainerViewModelcreateContainerViewModel()Creates the view model of the container.IAefLayoutgetLayout()Returns theIAefLayoutinstance.voidsetLayout(IAefLayout layout)Sets layout object.voidsetLayoutData(IAefLayoutData layoutData)Sets the layout data object.voidupdateViewModels()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 Detail
-
CompositeComponent
public CompositeComponent(P parameterization)
Creates a new composite component instance.- Parameters:
parameterization- the parameterization.
-
-
Method Detail
-
setLayout
public void setLayout(IAefLayout layout)
Sets layout object.- Parameters:
layout- the layout to set, can benull.
-
getLayout
public IAefLayout getLayout()
Returns theIAefLayoutinstance.- Returns:
- the layout object or
null.
-
setLayoutData
public void setLayoutData(IAefLayoutData layoutData)
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
protected IContainerViewModel 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.
-
-