C - Actual tabs component typepublic static interface TabsBuilder.TabBuilder<C extends com.vaadin.ui.TabSheet>
| Modifier and Type | Method and Description |
|---|---|
TabsBuilder<C> |
add()
Add the new tab to the tabs component.
|
TabsBuilder.TabBuilder<C> |
caption(com.holonplatform.core.i18n.Localizable caption)
Set the tab caption using a
Localizable. |
default TabsBuilder.TabBuilder<C> |
caption(String caption)
Set the tab caption.
|
default TabsBuilder.TabBuilder<C> |
caption(String defaultCaption,
String messageCode,
Object... arguments)
Set the tab caption.
|
TabsBuilder.TabBuilder<C> |
closable(boolean closable)
Sets the closability status for the tab.
|
TabsBuilder.TabBuilder<C> |
defaultFocusComponent(com.vaadin.ui.Component.Focusable component)
Set the component that should automatically focused when the tab is selected.
|
TabsBuilder.TabBuilder<C> |
description(com.holonplatform.core.i18n.Localizable description)
Set the tab description using a
Localizable. |
default TabsBuilder.TabBuilder<C> |
description(String description)
Set the tab description.
|
default TabsBuilder.TabBuilder<C> |
description(String defaultDescription,
String messageCode,
Object... arguments)
Set the tab description.
|
TabsBuilder.TabBuilder<C> |
enabled(boolean enabled)
Set whether the tab is enabled.
|
TabsBuilder.TabBuilder<C> |
icon(com.vaadin.server.Resource icon)
Set the tab icon.
|
TabsBuilder.TabBuilder<C> |
styleName(String styleName)
Set the tab CSS style name.
|
TabsBuilder.TabBuilder<C> |
visible(boolean visible)
Set tab visibility.
|
TabsBuilder.TabBuilder<C> caption(com.holonplatform.core.i18n.Localizable caption)
Localizable.caption - Tab caption (not null)default TabsBuilder.TabBuilder<C> caption(String caption)
caption - Tab captiondefault TabsBuilder.TabBuilder<C> caption(String defaultCaption, String messageCode, Object... arguments)
defaultCaption - Default captionmessageCode - Caption message codearguments - Optional message argumentsTabsBuilder.TabBuilder<C> description(com.holonplatform.core.i18n.Localizable description)
Localizable.description - Tab description (not null)default TabsBuilder.TabBuilder<C> description(String description)
description - Tab descriptiondefault TabsBuilder.TabBuilder<C> description(String defaultDescription, String messageCode, Object... arguments)
defaultDescription - Default descriptionmessageCode - Description message codearguments - Optional message argumentsTabsBuilder.TabBuilder<C> icon(com.vaadin.server.Resource icon)
icon - Tab iconTabsBuilder.TabBuilder<C> visible(boolean visible)
visible - Whether the tab is visibleTabsBuilder.TabBuilder<C> enabled(boolean enabled)
enabled - Whether the tab is enabledTabsBuilder.TabBuilder<C> closable(boolean closable)
closable - true to set the tab as closableTabsBuilder.TabBuilder<C> styleName(String styleName)
styleName - The style name to setTabsBuilder.TabBuilder<C> defaultFocusComponent(com.vaadin.ui.Component.Focusable component)
component - the component to focusTabsBuilder<C> add()
Copyright © 2019 The Holon Platform. All rights reserved.