Class StudioTabComponentProcessor

java.lang.Object
io.jmix.flowui.kit.meta.component.preview.processor.StudioTabComponentProcessor
All Implemented Interfaces:
StudioPreviewComponentProcessor, StudioPreviewTabProcessor

public class StudioTabComponentProcessor extends Object implements StudioPreviewTabProcessor
Studio preview processor for TabSheet tabs.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab, com.vaadin.flow.component.Component content, int index)
    Attaches tab (paired with content) to parent.
    boolean
    removeTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab)
    Detaches tab (and its paired content) from parent.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StudioTabComponentProcessor

      public StudioTabComponentProcessor()
  • Method Details

    • addTab

      public boolean addTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab, com.vaadin.flow.component.Component content, int index)
      Description copied from interface: StudioPreviewTabProcessor
      Attaches tab (paired with content) to parent.
      Specified by:
      addTab in interface StudioPreviewTabProcessor
      Parameters:
      index - target index, or a negative value to append
      Returns:
      true if handled
    • removeTab

      public boolean removeTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab)
      Description copied from interface: StudioPreviewTabProcessor
      Detaches tab (and its paired content) from parent.
      Specified by:
      removeTab in interface StudioPreviewTabProcessor
      Returns:
      true if handled