public interface PanelBuilder extends SingleComponentContainerBuilder<com.vaadin.ui.Panel,PanelBuilder>
Panel instances.ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
PanelBuilder |
borderless()
Adds
borderless and light style names to panel to render the panel without using
borders or any other style. |
PanelBuilder |
tabIndex(int tabIndex)
Sets the tabulator index of the component.
|
<T extends com.vaadin.event.Action & com.vaadin.event.Action.Listener> |
withAction(T action)
Add an
Action to the panel. |
PanelBuilder |
withActionHandler(com.vaadin.event.Action.Handler actionHandler)
Adds an Action
Action.Handler to the panel |
PanelBuilder |
withClickListener(com.vaadin.event.MouseEvents.ClickListener listener)
Add a click listener to the Panel.
|
content, withComponentAttachListener, withComponentDetachListenerbuild, 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, withShortcutListenerPanelBuilder borderless()
borderless and light style names to panel to render the panel without using
borders or any other style. In order to this method to work, current theme must correctly interpret these style
names for panel rendering.
Vaadin standard Reindeer and Valo themes are able to interpret above style name in the right way.
PanelBuilder tabIndex(int tabIndex)
If the tab index is not set (is set to zero), the default tab order is used. The order is somewhat browser-dependent, but generally follows the HTML structure of the page.
A negative value means that the component is completely removed from the tabulation order and can not be reached by pressing the Tab key at all.
tabIndex - The tab order of this component. Indexes usually start from 1. Zero means that default tab order
should be used. A negative value means that the field should not be included in the tabbing sequence.<T extends com.vaadin.event.Action & com.vaadin.event.Action.Listener> PanelBuilder withAction(T action)
Action to the panel.T - Action typeaction - Action to addPanelBuilder withActionHandler(com.vaadin.event.Action.Handler actionHandler)
Action.Handler to the panelactionHandler - Action handler to addPanelBuilder withClickListener(com.vaadin.event.MouseEvents.ClickListener listener)
listener - Listener to addCopyright © 2019 The Holon Platform. All rights reserved.