C - Concrete configurator typepublic interface DialogConfigurator<C extends DialogConfigurator<C>> extends ComponentConfigurator<C>, HasSizeConfigurator<C>, HasStyleConfigurator<C>, HasTextConfigurator<C>, DeferrableLocalizationConfigurator<C>
Dialog component configurator.| Modifier and Type | Interface and Description |
|---|---|
static interface |
DialogConfigurator.ClosableDialogConfigurator<C extends DialogConfigurator.ClosableDialogConfigurator<C>>
A
DialogConfigurator with dialog closing options configuration. |
ComponentConfigurator.BaseComponentConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasTextConfigurator.BaseHasTextConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
C |
withComponent(com.vaadin.flow.component.Component component)
Add given component to the dialog content.
|
default C |
withComponent(HasComponent component)
Add given
HasComponent component to the dialog content. |
C |
withOpenedChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.GeneratedVaadinDialog.OpenedChangeEvent<com.vaadin.flow.component.dialog.Dialog>> listener)
Add a lister for event fired by the
opened-changed events. |
C |
withToolbarComponent(com.vaadin.flow.component.Component component)
Add given component to the dialog toolbar, shown at the bottom of the dialog area.
|
default C |
withToolbarComponent(HasComponent component)
Add given
HasComponent component to the dialog toolbar, shown at the bottom of the dialog area. |
create, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamecreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedcreate, styleName, styleNamescreate, create, text, text, textdeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledC withComponent(com.vaadin.flow.component.Component component)
If a dialog message is configured, the component will be placed after the dialog message element.
component - The component to add (not null)default C withComponent(HasComponent component)
HasComponent component to the dialog content.
If a dialog message is configured, the component will be placed after the dialog message element.
component - The component to add (not null)C withToolbarComponent(com.vaadin.flow.component.Component component)
component - The toolbar component to add (not null)default C withToolbarComponent(HasComponent component)
HasComponent component to the dialog toolbar, shown at the bottom of the dialog area.component - The toolbar component to add (not null)C withOpenedChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.GeneratedVaadinDialog.OpenedChangeEvent<com.vaadin.flow.component.dialog.Dialog>> listener)
opened-changed events.listener - the listener to add (not null)Copyright © 2020 The Holon Platform. All rights reserved.