content
protected com.vaadin.flow.component.Component content
Dialogs.DialogBuilder<Dialogs.OptionDialogBuilder>
, Dialogs.Draggable<Dialogs.OptionDialogBuilder>
, Dialogs.HasContent<Dialogs.OptionDialogBuilder>
, Dialogs.HasHeader<Dialogs.OptionDialogBuilder>
, Dialogs.HasSize<Dialogs.OptionDialogBuilder>
, Dialogs.HasStyle<Dialogs.OptionDialogBuilder>
, Dialogs.HasText<Dialogs.OptionDialogBuilder>
, Dialogs.HasTheme<Dialogs.OptionDialogBuilder>
, Dialogs.OptionDialogBuilder
, Dialogs.Resizable<Dialogs.OptionDialogBuilder>
protected com.vaadin.flow.component.dialog.Dialog
protected DialogAction
findFirstActionWithType(Action[] actions,
EnumSet<DialogAction.Type> types)
Action[]
com.vaadin.flow.component.Component
getText()
getWidth()
protected void
initDialog(com.vaadin.flow.component.dialog.Dialog dialog)
protected void
initKeyCombination(DialogAction firstOkAction,
DialogAction firstDeclineAction,
Action action,
com.vaadin.flow.component.button.Button button)
boolean
boolean
void
open()
withActions(Action... actions)
withClassName(String className)
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)
withResizable(boolean resizable)
withThemeName(String themeName)
Dialogs.HasHeader
withHeader
in interface Dialogs.HasHeader<Dialogs.OptionDialogBuilder>
header
- header textgetHeader
in interface Dialogs.HasHeader<Dialogs.OptionDialogBuilder>
Dialogs.HasText
withText
in interface Dialogs.HasText<Dialogs.OptionDialogBuilder>
text
- a textgetText
in interface Dialogs.HasText<Dialogs.OptionDialogBuilder>
Dialogs.HasContent
withContent
in interface Dialogs.HasContent<Dialogs.OptionDialogBuilder>
content
- a contentgetContent
in interface Dialogs.HasContent<Dialogs.OptionDialogBuilder>
Dialogs.HasSize
withWidth
in interface Dialogs.HasSize<Dialogs.OptionDialogBuilder>
width
- widthgetWidth
in interface Dialogs.HasSize<Dialogs.OptionDialogBuilder>
Dialogs.HasSize
withHeight
in interface Dialogs.HasSize<Dialogs.OptionDialogBuilder>
height
- heightgetHeight
in interface Dialogs.HasSize<Dialogs.OptionDialogBuilder>
Dialogs.HasTheme
withThemeName
in interface Dialogs.HasTheme<Dialogs.OptionDialogBuilder>
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.OptionDialogBuilder>
null
if attribute (theme) is not set at allDialogs.HasStyle
withClassName
in interface Dialogs.HasStyle<Dialogs.OptionDialogBuilder>
className
- a space-separated string of class names to set, or
null
to remove all class namesDialogs.HasStyle
getClassName
in interface Dialogs.HasStyle<Dialogs.OptionDialogBuilder>
null
if
there are no class namesDialogs.Draggable
withDraggable
in interface Dialogs.Draggable<Dialogs.OptionDialogBuilder>
draggable
- true
to enable dragging of the dialog, false
otherwiseisDraggable
in interface Dialogs.Draggable<Dialogs.OptionDialogBuilder>
true
if dragging is enabled, false
otherwiseDialogs.Resizable
By default, the dialog is not resizable.
withResizable
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
resizable
- true
to enabled resizing of the dialog, false
otherwise.isResizable
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
true
if resizing is enabled, false
otherwiseDialogs.Resizable
withMinWidth
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
minWidth
- a dialog min widthgetMinWidth
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
Dialogs.Resizable
withMinHeight
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
minHeight
- a dialog min heightgetMinHeight
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
Dialogs.Resizable
withMaxWidth
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
maxWidth
- a dialog max widthgetMaxWidth
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
Dialogs.Resizable
withMaxHeight
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
maxHeight
- a dialog max heightgetMaxHeight
in interface Dialogs.Resizable<Dialogs.OptionDialogBuilder>
Dialogs.OptionDialogBuilder
withActions
in interface Dialogs.OptionDialogBuilder
actions
- dialog actionsgetActions
in interface Dialogs.OptionDialogBuilder
Dialogs.OptionDialogBuilder
open
in interface Dialogs.OptionDialogBuilder