Class NotificationState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.ui.notification.NotificationState
-
- All Implemented Interfaces:
Serializable
public class NotificationState extends SharedState
Shared state forNotification
.- Since:
- 8.2
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description String
caption
TheNotification
caption, can benull
.int
delay
The delay in milliseconds before disappearing,-1
for forever.String
description
The description, can benull
.boolean
htmlContentAllowed
Whether texts are interpreted as HTML (true
) or not (false
).Position
position
String
styleName
The style name, can benull
.-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description NotificationState()
-
-
-
Field Detail
-
caption
public String caption
TheNotification
caption, can benull
.
-
description
public String description
The description, can benull
.
-
htmlContentAllowed
public boolean htmlContentAllowed
Whether texts are interpreted as HTML (true
) or not (false
).
-
styleName
public String styleName
The style name, can benull
.
-
position
public Position position
-
delay
public int delay
The delay in milliseconds before disappearing,-1
for forever.
-
-