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 Constructor Description AbstractTabFolderComponent(P parameterization)
The constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
createComponents()
Creates the child components of this component.protected IContainerViewModel
createContainerViewModel()
Creates the view model of the container.protected TabItemViewModel
createTabItem(String tabTitle)
Creates tab item view model with given title.protected void
disposeComponents()
Disposes the child components.protected abstract List<IComponent<?>>
getTabItemComponents(int index)
Gets the components for tab with given index.protected abstract List<TabItemViewModel>
getTabItems()
Gets the tab items for container view model.-
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, 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, 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 Detail
-
AbstractTabFolderComponent
public AbstractTabFolderComponent(P parameterization)
The constructor.- Parameters:
parameterization
- The parameterization.
-
-
Method Detail
-
createContainerViewModel
protected final IContainerViewModel createContainerViewModel()
Description copied from class:ContainerComponent
Creates the view model of the container.- Overrides:
createContainerViewModel
in classCompositeComponent<M extends IModel,P extends IParameterization>
- Returns:
- the newly created container view model.
-
createComponents
protected final void createComponents()
Description copied from class:Component
Creates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponents
in classComponent<M extends IModel,P extends IParameterization>
-
disposeComponents
protected void disposeComponents()
Description copied from class:Component
Disposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponents
in classComponent<M extends IModel,P extends IParameterization>
-
getTabItems
protected abstract List<TabItemViewModel> getTabItems()
Gets the tab items for container view model.- Returns:
- The tab items.
-
createTabItem
protected final TabItemViewModel createTabItem(String tabTitle)
Creates tab item view model with given title.- Parameters:
tabTitle
- The tab item view model title.- Returns:
- The created tab item view model.
-
getTabItemComponents
protected abstract List<IComponent<?>> getTabItemComponents(int index)
Gets the components for tab with given index.- Parameters:
index
- The index.- Returns:
- The components.
-
-