content
protected com.vaadin.flow.component.Component content
Dialogs.Closeable<Dialogs.MessageDialogBuilder>
, Dialogs.DialogBuilder<Dialogs.MessageDialogBuilder>
, Dialogs.Draggable<Dialogs.MessageDialogBuilder>
, Dialogs.HasContent<Dialogs.MessageDialogBuilder>
, Dialogs.HasHeader<Dialogs.MessageDialogBuilder>
, Dialogs.HasModal<Dialogs.MessageDialogBuilder>
, Dialogs.HasSize<Dialogs.MessageDialogBuilder>
, Dialogs.HasStyle<Dialogs.MessageDialogBuilder>
, Dialogs.HasText<Dialogs.MessageDialogBuilder>
, Dialogs.HasTheme<Dialogs.MessageDialogBuilder>
, Dialogs.MessageDialogBuilder
, Dialogs.Resizable<Dialogs.MessageDialogBuilder>
com.vaadin.flow.component.dialog.Dialog
build()
protected com.vaadin.flow.component.dialog.Dialog
protected void
fireDialogOpenedChangeEvent(com.vaadin.flow.component.dialog.Dialog.OpenedChangeEvent openedChangeEvent)
com.vaadin.flow.component.Component
getText()
getWidth()
protected void
initDialog(com.vaadin.flow.component.dialog.Dialog dialog)
boolean
boolean
boolean
boolean
isModal()
boolean
com.vaadin.flow.component.dialog.Dialog
open()
withClassName(String className)
withCloseOnEsc(boolean closeOnEsc)
withCloseOnOutsideClick(boolean closeOnOutsideClick)
withContent(com.vaadin.flow.component.Component content)
withDraggable(boolean draggable)
withHeader(String header)
withHeight(String height)
withMaxHeight(String maxHeight)
withMaxWidth(String maxWidth)
withMinHeight(String minHeight)
withMinWidth(String minWidth)
withModal(boolean modal)
withResizable(boolean resizable)
withThemeName(String themeName)
Dialogs.HasHeader
withHeader
in interface Dialogs.HasHeader<Dialogs.MessageDialogBuilder>
header
- header textgetHeader
in interface Dialogs.HasHeader<Dialogs.MessageDialogBuilder>
Dialogs.HasSize
withWidth
in interface Dialogs.HasSize<Dialogs.MessageDialogBuilder>
width
- widthgetWidth
in interface Dialogs.HasSize<Dialogs.MessageDialogBuilder>
Dialogs.HasSize
withHeight
in interface Dialogs.HasSize<Dialogs.MessageDialogBuilder>
height
- heightgetHeight
in interface Dialogs.HasSize<Dialogs.MessageDialogBuilder>
Dialogs.HasText
withText
in interface Dialogs.HasText<Dialogs.MessageDialogBuilder>
text
- a textgetText
in interface Dialogs.HasText<Dialogs.MessageDialogBuilder>
Dialogs.HasContent
withContent
in interface Dialogs.HasContent<Dialogs.MessageDialogBuilder>
content
- a contentgetContent
in interface Dialogs.HasContent<Dialogs.MessageDialogBuilder>
Dialogs.HasTheme
withThemeName
in interface Dialogs.HasTheme<Dialogs.MessageDialogBuilder>
themeName
- a space-separated string of theme names to set, or empty string to remove all theme namesDialogs.HasTheme
getThemeName
in interface Dialogs.HasTheme<Dialogs.MessageDialogBuilder>
null
if attribute (theme) is not set at allDialogs.HasStyle
withClassName
in interface Dialogs.HasStyle<Dialogs.MessageDialogBuilder>
className
- a space-separated string of class names to set, or
null
to remove all class namesDialogs.HasStyle
getClassName
in interface Dialogs.HasStyle<Dialogs.MessageDialogBuilder>
null
if
there are no class namesDialogs.Closeable
By default, the dialog is closable with an outside click.
withCloseOnOutsideClick
in interface Dialogs.Closeable<Dialogs.MessageDialogBuilder>
closeOnOutsideClick
- true
to enable closing this dialog with an outside
click, false
to disable itisCloseOnOutsideClick
in interface Dialogs.Closeable<Dialogs.MessageDialogBuilder>
true
if this dialog can be closed by an outside click, false
otherwiseDialogs.Closeable
By default, the dialog is closable with esc.
withCloseOnEsc
in interface Dialogs.Closeable<Dialogs.MessageDialogBuilder>
closeOnEsc
- true
to enable closing this dialog with the esc-key, false
to disable itisCloseOnEsc
in interface Dialogs.Closeable<Dialogs.MessageDialogBuilder>
true
if this dialog can be closed with the esc-key, false
otherwiseDialogs.HasModal
withModal
in interface Dialogs.HasModal<Dialogs.MessageDialogBuilder>
modal
- false
to enable dialog to open as modeless modal, true
otherwise.isModal
in interface Dialogs.HasModal<Dialogs.MessageDialogBuilder>
true
if modal dialog, false
otherwise.Dialogs.Draggable
withDraggable
in interface Dialogs.Draggable<Dialogs.MessageDialogBuilder>
draggable
- true
to enable dragging of the dialog, false
otherwiseisDraggable
in interface Dialogs.Draggable<Dialogs.MessageDialogBuilder>
true
if dragging is enabled, false
otherwiseDialogs.Resizable
By default, the dialog is not resizable.
withResizable
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
resizable
- true
to enabled resizing of the dialog, false
otherwise.isResizable
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
true
if resizing is enabled, false
otherwiseDialogs.Resizable
withMinWidth
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
minWidth
- a dialog min widthgetMinWidth
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
Dialogs.Resizable
withMinHeight
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
minHeight
- a dialog min heightgetMinHeight
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
Dialogs.Resizable
withMaxWidth
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
maxWidth
- a dialog max widthgetMaxWidth
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
Dialogs.Resizable
withMaxHeight
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
maxHeight
- a dialog max heightgetMaxHeight
in interface Dialogs.Resizable<Dialogs.MessageDialogBuilder>
Dialogs.MessageDialogBuilder
Dialog.open()
.build
in interface Dialogs.MessageDialogBuilder
Dialogs.MessageDialogBuilder
open
in interface Dialogs.MessageDialogBuilder
Dialog
instance