Class AbstractTabFolderComponent<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.v8.dt.ui.aef.component.AbstractTabFolderComponent<M,P>
- All Implemented Interfaces:
IComponent<M>,IEventChannel
public abstract class AbstractTabFolderComponent<M extends IModel,P extends IParameterization>
extends CompositeComponent<M,P>
The tab folder component.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidCreates the child components of this component.protected final IContainerViewModelCreates the view model of the container.protected final TabItemViewModelcreateTabItem(String tabTitle) Creates tab item view model with given title.protected voidDisposes the child components.protected abstract List<IComponent<?>>getTabItemComponents(int index) Gets the components for tab with given index.protected abstract List<TabItemViewModel>Gets the tab items for container view model.Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponent
getLayout, setLayout, setLayoutData, updateViewModelsMethods 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, detachFromModel, dispose, 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
-
AbstractTabFolderComponent
The constructor.- Parameters:
parameterization- The parameterization.
-
-
Method Details
-
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.
-
createComponents
protected final 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>
-
disposeComponents
protected void disposeComponents()Description copied from class:ComponentDisposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponentsin classComponent<M extends IModel,P extends IParameterization>
-
getTabItems
Gets the tab items for container view model.- Returns:
- The tab items.
-
createTabItem
Creates tab item view model with given title.- Parameters:
tabTitle- The tab item view model title.- Returns:
- The created tab item view model.
-
getTabItemComponents
Gets the components for tab with given index.- Parameters:
index- The index.- Returns:
- The components.
-