Package io.jmix.ui.component.impl
Class AccordionImpl.Tab
java.lang.Object
io.jmix.ui.component.impl.AccordionImpl.Tab
- All Implemented Interfaces:
Accordion.Tab
,Component.HasIcon
- Enclosing class:
- AccordionImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets tab caption.getIcon()
Get icon source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.getName()
Gets tab id.protected com.vaadin.ui.TabSheet.Tab
boolean
Whether the tab is enabled.boolean
Whether the tab is visible.void
setCaption
(String caption) Sets tab caption.void
setEnabled
(boolean enabled) void
Set an icon by its source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.void
setIconFromSet
(Icons.Icon icon) Set an icon from an icon set.void
INTERNAL.void
setStyleName
(String styleName) Sets style for UI element that represents the tab header.void
setVisible
(boolean visible)
-
Constructor Details
-
Tab
-
-
Method Details
-
getVaadinTab
protected com.vaadin.ui.TabSheet.Tab getVaadinTab() -
getComponent
-
getName
Description copied from interface:Accordion.Tab
Gets tab id.- Specified by:
getName
in interfaceAccordion.Tab
-
setName
Description copied from interface:Accordion.Tab
INTERNAL. Sets tab id.- Specified by:
setName
in interfaceAccordion.Tab
-
getCaption
Description copied from interface:Accordion.Tab
Gets tab caption.- Specified by:
getCaption
in interfaceAccordion.Tab
-
setCaption
Description copied from interface:Accordion.Tab
Sets tab caption.- Specified by:
setCaption
in interfaceAccordion.Tab
-
isEnabled
public boolean isEnabled()Description copied from interface:Accordion.Tab
Whether the tab is enabled.- Specified by:
isEnabled
in interfaceAccordion.Tab
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceAccordion.Tab
-
isVisible
public boolean isVisible()Description copied from interface:Accordion.Tab
Whether the tab is visible.- Specified by:
isVisible
in interfaceAccordion.Tab
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisible
in interfaceAccordion.Tab
-
setStyleName
Description copied from interface:Accordion.Tab
Sets style for UI element that represents the tab header.- Specified by:
setStyleName
in interfaceAccordion.Tab
- Parameters:
styleName
- style
-
getStyleName
- Specified by:
getStyleName
in interfaceAccordion.Tab
-
getIcon
Description copied from interface:Component.HasIcon
Get icon source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.- Specified by:
getIcon
in interfaceComponent.HasIcon
-
setIcon
Description copied from interface:Component.HasIcon
Set an icon by its source: "font-icon:ADD", "icons/myicon.png", "theme://createIcon", etc.- Specified by:
setIcon
in interfaceComponent.HasIcon
-
setIconFromSet
Description copied from interface:Component.HasIcon
Set an icon from an icon set.- Specified by:
setIconFromSet
in interfaceComponent.HasIcon
-