Java com.vaadin.ui Notification fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui Notification fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui Notification.

The text is from its open source code.

Subclass

com.vaadin.ui.Notification has subclasses.
Click this link to see all its subclasses.

Field

Constructor

Notification(String caption, String description, Type type, boolean htmlContentAllowed)
Creates a notification message of the specified type, with a bigger caption and smaller description.
Notification(String caption, Type type)
Creates a notification message of the specified type.
Notification(String caption, String description)
Creates a "humanized" notification message with a bigger caption and smaller description.
Notification(String caption, String description, Type type)
Creates a notification message of the specified type, with a bigger caption and smaller description.
Notification(String caption)
Creates a "humanized" notification message.

Method

StringgetCaption()
Gets the caption part of the notification message.
StringgetDescription()
Gets the description part of the notification message.
StringgetStyleName()
Gets the style name for the notification message.
voidsetCaption(String caption)
Sets the caption part of the notification message.
voidsetDelayMsec(int delayMsec)
Sets the delay before the notification disappears.
voidsetDescription(String description)
Sets the description part of the notification message.
voidsetHtmlContentAllowed(boolean htmlContentAllowed)
Sets whether html is allowed in the caption and description.
voidsetIcon(Resource icon)
Sets the icon part of the notification message.
voidsetPosition(Position position)
Sets the position of the notification message.
voidsetStyleName(String styleName)
Sets the style name for the notification message.
voidshow(Page page)
Shows this notification on a Page.
Notificationshow(String caption)
Shows a notification message on the middle of the current page.
Notificationshow(String caption, String description, Type type)
Shows a notification message the current page.
Notificationshow(String caption, Type type)
Shows a notification message the current page.