AlertBuilder
to open alerts and confirm-dialogs,
or default Vaadin Notifications
and Windows
.@Deprecated public interface OverlayLayer
Notification
,
AlertBuilder
,
info.magnolia.ui.DialogBuilder
,
info.magnolia.ui.LightBoxBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
OverlayLayer.ModalityDomain
Deprecated.
since 6.1, overlays are no longer bound to specific views.
|
static class |
OverlayLayer.ModalityLevel
Deprecated.
since 6.1, use
info.magnolia.ui.DialogBuilder#light() |
Modifier and Type | Method and Description |
---|---|
void |
openAlert(MessageStyleType type,
String title,
String body,
String okButton,
AlertCallback callback)
Deprecated.
since 6.1, use the
AlertBuilder . |
void |
openAlert(MessageStyleType type,
String title,
View body,
String okButton,
AlertCallback callback)
Deprecated.
since 6.1, use the
AlertBuilder . |
void |
openConfirmation(MessageStyleType type,
String title,
String body,
String confirmButton,
String cancelButton,
boolean cancelIsDefault,
ConfirmationCallback callback)
Deprecated.
since 6.1, use the
AlertBuilder . |
void |
openConfirmation(MessageStyleType type,
String title,
View body,
String confirmButton,
String cancelButton,
boolean cancelIsDefault,
ConfirmationCallback callback)
Deprecated.
since 6.1, use the
AlertBuilder . |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
String title)
Deprecated.
since 6.1, use default Vaadin
Notifications .
Mind the following mappings from MessageStyleType to Notification.Type :INFO => HUMANIZED_MESSAGE, WARNING => WARNING_MESSAGE, ERROR => ERROR_MESSAGE. |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
String title,
String linkText,
NotificationCallback cb)
Deprecated.
since 6.1, use default Vaadin
Notifications .
Mind the following mappings from MessageStyleType to Notification.Type :INFO => HUMANIZED_MESSAGE, WARNING => WARNING_MESSAGE, ERROR => ERROR_MESSAGE. |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
View viewToShow)
Deprecated.
since 6.1, use default Vaadin
Notifications .
Mind the following mappings from MessageStyleType to Notification.Type :INFO => HUMANIZED_MESSAGE, WARNING => WARNING_MESSAGE, ERROR => ERROR_MESSAGE. |
OverlayCloser |
openOverlay(View view)
Deprecated.
since 6.1, use either Magnolia's
AlertBuilder , DialogBuilder or LightBoxBuilder ,
or default Vaadin Notifications , Windows or PopupViews . |
OverlayCloser |
openOverlay(View view,
OverlayLayer.ModalityLevel modalityLevel)
Deprecated.
since 6.1, use either Magnolia's
AlertBuilder , DialogBuilder or LightBoxBuilder ,
or default Vaadin Notifications , Windows or PopupViews . |
@Deprecated OverlayCloser openOverlay(View view)
AlertBuilder
, DialogBuilder
or LightBoxBuilder
,
or default Vaadin Notifications
, Windows
or PopupViews
.view
- View of the component to be displayed modally.@Deprecated OverlayCloser openOverlay(View view, OverlayLayer.ModalityLevel modalityLevel)
AlertBuilder
, DialogBuilder
or LightBoxBuilder
,
or default Vaadin Notifications
, Windows
or PopupViews
.modalityLevel
- Modality level@Deprecated void openAlert(MessageStyleType type, String title, String body, String okButton, AlertCallback callback)
AlertBuilder
.type
, with given title and body.type
- the message level, i.e. INFO, WARNING or ERRORtitle
- the alert dialog's titlebody
- the alert dialog's text bodyokButton
- the OK button textcallback
- the callback to execute when the OK button is pressed, or when the dialog is closed@Deprecated void openAlert(MessageStyleType type, String title, View body, String okButton, AlertCallback callback)
AlertBuilder
.type
, with given title and body.type
- the message level, i.e. INFO, WARNING or ERRORtitle
- the alert dialog's titlebody
- the alert dialog's body as a magnolia View
; alternatively one may wrap any Vaadin component as a View using ViewAdapter
okButton
- the OK button textcallback
- the callback to execute when the OK button is pressed, or when the dialog is closed@Deprecated void openConfirmation(MessageStyleType type, String title, String body, String confirmButton, String cancelButton, boolean cancelIsDefault, ConfirmationCallback callback)
AlertBuilder
.type
, with given title and body.type
- the message level, i.e. INFO, WARNING or ERRORtitle
- the confirmation dialog's titlebody
- the confirmation dialog's body textconfirmButton
- the confirm button textcancelButton
- the cancel button textcancelIsDefault
- whether the cancel button should be focused by defaultcallback
- the callback to execute when any button is pressed, or when the dialog is closed@Deprecated void openConfirmation(MessageStyleType type, String title, View body, String confirmButton, String cancelButton, boolean cancelIsDefault, ConfirmationCallback callback)
AlertBuilder
.type
, with given title and body.type
- the message level, i.e. INFO, WARNING or ERRORtitle
- the confirmation dialog's titlebody
- the confirmation dialog's body as a magnolia View
; alternatively one may wrap any Vaadin component as a View using ViewAdapter
confirmButton
- the confirm button textcancelButton
- the cancel button textcancelIsDefault
- whether the cancel button should be focused by defaultcallback
- the callback to execute when any button is pressed, or when the dialog is closed@Deprecated void openNotification(MessageStyleType type, boolean doesTimeout, View viewToShow)
Notifications
.
Mind the following mappings from MessageStyleType
to Notification.Type
:viewToShow
- Content to show as View.@Deprecated void openNotification(MessageStyleType type, boolean doesTimeout, String title)
Notifications
.
Mind the following mappings from MessageStyleType
to Notification.Type
:title
- Content to show as string.@Deprecated void openNotification(MessageStyleType type, boolean doesTimeout, String title, String linkText, NotificationCallback cb)
Notifications
.
Mind the following mappings from MessageStyleType
to Notification.Type
:title
- Content to show as string.linkText
- Text to show in a link button.cb
- Callback for when user clicks on link.Copyright © 2021 Magnolia International Ltd.. All rights reserved.