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 forcom.vaadin.ui.Notification.- Since:
- 8.2
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringcaptionThecom.vaadin.ui.Notificationcaption, can benull.intdelayThe delay in milliseconds before disappearing,-1for forever.StringdescriptionThe description, can benull.booleanhtmlContentAllowedWhether texts are interpreted as HTML (true) or not (false).PositionpositionStringstyleNameThe 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
Thecom.vaadin.ui.Notificationcaption, 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,-1for forever.
-
-