Example usage for Java com.vaadin.ui Notification fields, constructors, methods, implement or subclass
The text is from its open source code.
Type | TYPE_HUMANIZED_MESSAGE |
Type | TYPE_WARNING_MESSAGE |
Type | TYPE_ERROR_MESSAGE |
Type | TYPE_TRAY_NOTIFICATION |
Position | POSITION_CENTERED |
Position | POSITION_BOTTOM_RIGHT |
int | DELAY_FOREVER |
int | DELAY_NONE |
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. |
String | getCaption() Gets the caption part of the notification message. |
String | getDescription() Gets the description part of the notification message. |
String | getStyleName() Gets the style name for the notification message. |
void | setCaption(String caption) Sets the caption part of the notification message. |
void | setDelayMsec(int delayMsec) Sets the delay before the notification disappears. |
void | setDescription(String description) Sets the description part of the notification message. |
void | setHtmlContentAllowed(boolean htmlContentAllowed) Sets whether html is allowed in the caption and description. |
void | setIcon(Resource icon) Sets the icon part of the notification message. |
void | setPosition(Position position) Sets the position of the notification message. |
void | setStyleName(String styleName) Sets the style name for the notification message. |
void | show(Page page) Shows this notification on a Page. |
Notification | show(String caption) Shows a notification message on the middle of the current page. |
Notification | show(String caption, String description, Type type) Shows a notification message the current page. |
Notification | show(String caption, Type type) Shows a notification message the current page. |