We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.shared.ui.notification.
Class NotificationState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.ui.notification.NotificationState
-
All Implemented Interfaces:
public class NotificationState extends SharedState
Shared state for
Notification
.Since:
8.2
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
Fields Modifier and Type Field Description String
caption
The
Notification
caption, can benull
.int
delay
The delay in milliseconds before disappearing,
-1
for forever.String
description
The description, can be
null
.boolean
htmlContentAllowed
Whether texts are interpreted as HTML (
true
) or not (false
).Position
position
The
Position
of theNotification
, can not benull
.String
styleName
The style name, can be
null
.-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description NotificationState()
-
-
-
Field Detail
-
caption
public String caption
The
Notification
caption, can benull
.
-
description
public String description
The description, can be
null
.
-
htmlContentAllowed
public boolean htmlContentAllowed
Whether texts are interpreted as HTML (
true
) or not (false
).
-
styleName
public String styleName
The style name, can be
null
.
-
position
public Position position
The
Position
of theNotification
, can not benull
.
-
delay
public int delay
The delay in milliseconds before disappearing,
-1
for forever.
-
-