Class StudioTabComponentProcessor
java.lang.Object
io.jmix.flowui.kit.meta.component.preview.processor.StudioTabComponentProcessor
- All Implemented Interfaces:
StudioPreviewComponentProcessor,StudioPreviewTabProcessor
Studio preview processor for
TabSheet tabs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab, com.vaadin.flow.component.Component content, int index) Attachestab(paired withcontent) toparent.booleanremoveTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab) Detachestab(and its paired content) fromparent.
-
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:StudioPreviewTabProcessorAttachestab(paired withcontent) toparent.- Specified by:
addTabin interfaceStudioPreviewTabProcessor- Parameters:
index- target index, or a negative value to append- Returns:
trueif handled
-
removeTab
public boolean removeTab(com.vaadin.flow.component.Component parent, com.vaadin.flow.component.Component tab) Description copied from interface:StudioPreviewTabProcessorDetachestab(and its paired content) fromparent.- Specified by:
removeTabin interfaceStudioPreviewTabProcessor- Returns:
trueif handled
-