content
protected com.vaadin.flow.component.Component content
Dialogs.BackgroundTaskDialogBuilder<T,V>
, Dialogs.Draggable<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.HasContent<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.HasHeader<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.HasStyle<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.HasText<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.HasTheme<Dialogs.BackgroundTaskDialogBuilder<T,V>>
, Dialogs.Resizable<Dialogs.BackgroundTaskDialogBuilder<T,V>>
protected BackgroundTask<T,V>
protected boolean
protected com.vaadin.flow.component.button.Button
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.dialog.Dialog
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.shared.Registration
protected com.vaadin.flow.component.progressbar.ProgressBar
protected com.vaadin.flow.component.html.Span
protected boolean
protected BackgroundTaskHandler<V>
protected Number
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()
getTotal()
protected void
protected void
initDialog(com.vaadin.flow.component.dialog.Dialog dialog)
protected void
initDialogContent(com.vaadin.flow.component.dialog.Dialog dialog)
boolean
boolean
protected boolean
boolean
boolean
protected void
onCancelButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
com.vaadin.flow.component.dialog.Dialog
open()
protected void
protected void
updateProgress(Number processedValue)
withCancelAllowed(boolean cancelAllowed)
withClassName(String className)
withContent(com.vaadin.flow.component.Component content)
withDraggable(boolean draggable)
withHeader(String header)
withMaxHeight(String maxHeight)
withMaxWidth(String maxWidth)
withMinHeight(String minHeight)
withMinWidth(String minWidth)
withResizable(boolean resizable)
withShowProgressInPercentage(boolean percentProgress)
withThemeName(String themeName)
Dialogs.BackgroundTaskDialogBuilder
The default value is false
.
withCancelAllowed
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
cancelAllowed
- true
if dialog is closeableisCancelAllowed
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
true
if the dialog can be closedDialogs.BackgroundTaskDialogBuilder
TaskLifeCycle.publish(Object[])
to notify the dialog about progress
completion.withTotal
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
total
- amount of items to be processed by background task,getTotal
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
Dialogs.BackgroundTaskDialogBuilder
withShowProgressInPercentage
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
percentProgress
- true
to show progress in percentsisShowProgressInPercentage
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
true
if progress should is shown in percentsDialogs.HasHeader
withHeader
in interface Dialogs.HasHeader<T extends Number>
header
- header textgetHeader
in interface Dialogs.HasHeader<T extends Number>
Dialogs.HasText
withText
in interface Dialogs.HasText<T extends Number>
text
- a textgetText
in interface Dialogs.HasText<T extends Number>
Dialogs.HasTheme
withThemeName
in interface Dialogs.HasTheme<T extends Number>
themeName
- a space-separated string of theme names to set, or empty string to remove all theme namesDialogs.HasTheme
getThemeName
in interface Dialogs.HasTheme<T extends Number>
null
if attribute (theme) is not set at allDialogs.HasStyle
withClassName
in interface Dialogs.HasStyle<T extends Number>
className
- a space-separated string of class names to set, or
null
to remove all class namesDialogs.HasStyle
getClassName
in interface Dialogs.HasStyle<T extends Number>
null
if
there are no class namesDialogs.Draggable
withDraggable
in interface Dialogs.Draggable<T extends Number>
draggable
- true
to enable dragging of the dialog, false
otherwiseisDraggable
in interface Dialogs.Draggable<T extends Number>
true
if dragging is enabled, false
otherwiseDialogs.HasContent
withContent
in interface Dialogs.HasContent<T extends Number>
content
- a contentgetContent
in interface Dialogs.HasContent<T extends Number>
Dialogs.Resizable
By default, the dialog is not resizable.
withResizable
in interface Dialogs.Resizable<T extends Number>
resizable
- true
to enabled resizing of the dialog, false
otherwise.isResizable
in interface Dialogs.Resizable<T extends Number>
true
if resizing is enabled, false
otherwiseDialogs.Resizable
withMinWidth
in interface Dialogs.Resizable<T extends Number>
minWidth
- a dialog min widthgetMinWidth
in interface Dialogs.Resizable<T extends Number>
Dialogs.Resizable
withMinHeight
in interface Dialogs.Resizable<T extends Number>
minHeight
- a dialog min heightgetMinHeight
in interface Dialogs.Resizable<T extends Number>
Dialogs.Resizable
withMaxWidth
in interface Dialogs.Resizable<T extends Number>
maxWidth
- a dialog max widthgetMaxWidth
in interface Dialogs.Resizable<T extends Number>
Dialogs.Resizable
withMaxHeight
in interface Dialogs.Resizable<T extends Number>
maxHeight
- a dialog max heightgetMaxHeight
in interface Dialogs.Resizable<T extends Number>
Dialogs.BackgroundTaskDialogBuilder
Dialog.open()
.build
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>
Dialogs.BackgroundTaskDialogBuilder
open
in interface Dialogs.BackgroundTaskDialogBuilder<T extends Number,V>