Class ScrolledCompositeComponent<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>
-
- com._1c.g5.aef2.standard.components.ScrolledCompositeComponent<M,P>
-
- All Implemented Interfaces:
IComponent<M>,IEventChannel
public final class ScrolledCompositeComponent<M extends IModel,P extends IParameterization> extends CompositeComponent<M,P>
The composite component which know how to scroll content.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description ScrolledCompositeComponent(P parameterization)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateComponents()Creates the child components of this component.protected IContainerViewModelcreateContainerViewModel()Creates the view model of the container.CompositeComponent<IModel,IParameterization>getContent()Gets the composite component which represents content of scrolled composite.IAefLayoutDatagetLayoutData()Returns theIAefLayoutDatainstance.-
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, disposeViewModels, 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, 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
-
ScrolledCompositeComponent
public ScrolledCompositeComponent(P parameterization)
The constructor.- Parameters:
parameterization- The parameterization.
-
-
Method Detail
-
getContent
public CompositeComponent<IModel,IParameterization> getContent()
Gets the composite component which represents content of scrolled composite.- Returns:
- The content of scrolled composite.
-
getLayoutData
public IAefLayoutData getLayoutData()
Description copied from class:StandardComponentReturns theIAefLayoutDatainstance.- Overrides:
getLayoutDatain classStandardComponent<M extends IModel,P extends IParameterization>- Returns:
- the layout date or
null.
-
createComponents
protected void createComponents()
Description copied from class:ComponentCreates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponentsin classComponent<M extends IModel,P extends IParameterization>
-
createContainerViewModel
protected IContainerViewModel createContainerViewModel()
Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
createContainerViewModelin classCompositeComponent<M extends IModel,P extends IParameterization>- Returns:
- the newly created container view model.
-
-