C - Actual tabs component typepublic interface TabsBuilder<C extends com.vaadin.ui.TabSheet> extends ComponentBuilder<C,TabsBuilder<C>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TabsBuilder.TabBuilder<C extends com.vaadin.ui.TabSheet>
Tab builder.
|
ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
TabsBuilder<C> |
closeHandler(com.vaadin.ui.TabSheet.CloseHandler closeHandler)
Set a custom tab close handler to be invoked when a user clicks on a tabs close button.
|
TabsBuilder<C> |
withSelectedTabChangeListener(com.vaadin.ui.TabSheet.SelectedTabChangeListener listener)
Add a
TabSheet.SelectedTabChangeListener. |
TabsBuilder.TabBuilder<C> |
withTab(com.vaadin.ui.Component component)
Configure a new Tab to be added to the tabs component.
|
default TabsBuilder<C> |
withTab(com.vaadin.ui.Component component,
com.holonplatform.core.i18n.Localizable caption)
Convenience method to directly add a tab.
|
default TabsBuilder<C> |
withTab(com.vaadin.ui.Component component,
com.holonplatform.core.i18n.Localizable caption,
com.vaadin.server.Resource icon)
Convenience method to directly add a tab.
|
default TabsBuilder<C> |
withTab(com.vaadin.ui.Component component,
String caption)
Convenience method to directly add a tab.
|
default TabsBuilder<C> |
withTab(com.vaadin.ui.Component component,
String caption,
com.vaadin.server.Resource icon)
Convenience method to directly add a tab.
|
build, deferLocalization, dragSource, dropTargetcaption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerTabsBuilder.TabBuilder<C> withTab(com.vaadin.ui.Component component)
Use TabsBuilder.TabBuilder.add() to add the new tab.
component - the component to be added onto tab (not null)default TabsBuilder<C> withTab(com.vaadin.ui.Component component, com.holonplatform.core.i18n.Localizable caption)
component - the component to be added onto tab (not null)caption - Tab caption (not null)default TabsBuilder<C> withTab(com.vaadin.ui.Component component, String caption)
component - the component to be added onto tab (not null)caption - Tab captiondefault TabsBuilder<C> withTab(com.vaadin.ui.Component component, com.holonplatform.core.i18n.Localizable caption, com.vaadin.server.Resource icon)
component - the component to be added onto tab (not null)caption - Tab caption (not null)icon - Tab icondefault TabsBuilder<C> withTab(com.vaadin.ui.Component component, String caption, com.vaadin.server.Resource icon)
component - the component to be added onto tab (not null)caption - Tab caption (not null)icon - Tab iconTabsBuilder<C> withSelectedTabChangeListener(com.vaadin.ui.TabSheet.SelectedTabChangeListener listener)
TabSheet.SelectedTabChangeListener.listener - Listener to add (not null)TabsBuilder<C> closeHandler(com.vaadin.ui.TabSheet.CloseHandler closeHandler)
closeHandler - the close handler (not null)Copyright © 2019 The Holon Platform. All rights reserved.