Class AbstractTabFolderComponent<M extends IModel,P extends IParameterization>

All Implemented Interfaces:
IComponent<M>, IEventChannel

public abstract class AbstractTabFolderComponent<M extends IModel,P extends IParameterization> extends CompositeComponent<M,P>
The tab folder component.
  • Constructor Details

    • AbstractTabFolderComponent

      public AbstractTabFolderComponent(P parameterization)
      The constructor.
      Parameters:
      parameterization - The parameterization.
  • Method Details

    • createContainerViewModel

      protected final IContainerViewModel createContainerViewModel()
      Description copied from class: ContainerComponent
      Creates the view model of the container.
      Overrides:
      createContainerViewModel in class CompositeComponent<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 class Component<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 class Component<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.