|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
org.gwtbootstrap3.extras.growl.client.ui.Growl
public class Growl
This class represent instance of displayed Growl.
You can display new Growl using static methods, e.g.:growl(String),
growl(String, GrowlType),
growl(String, GrowlOptions) and others
To further configure Growl before displaying see:
GrowlOptions
You can update displayed Growl by:
updateTitle(String),
updateMessage(String),
updateIcon(String),
updateType(GrowlType),
You can hide displayed Growl:
hide(),
hideAll(),
hideAll(GrowlPosition)
| Constructor Summary | |
|---|---|
protected |
Growl()
|
| Method Summary | |
|---|---|
static Growl |
growl(String message)
Display Growl with custom message and default settings. |
static Growl |
growl(String message,
GrowlOptions options)
Display Growl with custom message and custom settings. |
static Growl |
growl(String message,
GrowlType type)
Display Growl with custom message, type and default settings. |
static Growl |
growl(String title,
String message)
Display Growl with custom title, message and default settings. |
static Growl |
growl(String title,
String message,
GrowlOptions options)
Display Growl with custom title, message and custom settings. |
static Growl |
growl(String title,
String message,
GrowlType type)
Display Growl with custom title, message, type and default settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType)
Display Growl with custom title, message, icon and default settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
GrowlOptions options)
Display Growl with custom title, message, icon and custom settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
GrowlType type)
Display Growl with custom title, message, icon, type and default settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url)
Display Growl with custom title, message, icon, url and default settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
GrowlOptions options)
Display Growl with custom title, message, icon, URL and custom settings. |
static Growl |
growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
GrowlType type)
Display Growl with custom title, message, icon, url, type and default settings. |
static Growl |
growl(String title,
String message,
String icon)
Display Growl with custom title, message, icon and default settings. |
static Growl |
growl(String title,
String message,
String icon,
GrowlOptions options)
Display Growl with custom title, message, icon and custom settings. |
static Growl |
growl(String title,
String message,
String icon,
GrowlType type)
Display Growl with custom title, message, icon, type and default settings. |
static Growl |
growl(String title,
String message,
String icon,
String url)
Display Growl with custom title, message, icon and default settings. |
static Growl |
growl(String title,
String message,
String icon,
String url,
GrowlOptions options)
Display Growl with custom title, message, icon, URL and custom settings. |
static Growl |
growl(String title,
String message,
String icon,
String url,
GrowlType type)
Display Growl with custom title, message, icon, url, type and default settings. |
void |
hide()
Hide this Growl. |
static void |
hideAll()
Hide all displayed Growls. |
static void |
hideAll(GrowlPosition position)
Hide all displayed Growls on specific screen location. |
void |
updateIcon(org.gwtbootstrap3.client.ui.constants.IconType type)
Updates Icon parameter of once displayed Growl. |
void |
updateIcon(String icon)
Updates Icon parameter of once displayed Growl. |
void |
updateMessage(String message)
Updates message parameter of once displayed Growl. |
void |
updateTitle(String title)
Updates title parameter of once displayed Growl. |
void |
updateType(GrowlType type)
Update type of once displayed Growl (CSS style class name). |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Growl()
| Method Detail |
|---|
public static final Growl growl(String message)
message - Message to set
public static final Growl growl(String title,
String message)
title - Title to setmessage - Message to set
public static final Growl growl(String title,
String message,
String icon)
title - Title to setmessage - Message to seticon - Icon to set
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType)
title - Title to setmessage - Message to seticonType - IconType to set
public static final Growl growl(String title,
String message,
String icon,
String url)
title - Title to setmessage - Message to seticon - IconType to seturl - Url to set
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url)
title - Title to setmessage - Message to seticonType - IconType to seturl - Url to set
public static final Growl growl(String message,
GrowlType type)
message - Message to settype - GrowlType
GrowlType
public static final Growl growl(String title,
String message,
GrowlType type)
title - Title to setmessage - Message to settype - GrowlType
GrowlType
public static final Growl growl(String title,
String message,
String icon,
GrowlType type)
title - Title to setmessage - Message to seticon - Icon to settype - GrowlType
GrowlType
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
GrowlType type)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)type - GrowlType
GrowlType
public static final Growl growl(String title,
String message,
String icon,
String url,
GrowlType type)
title - Title to setmessage - Message to seticon - Icon to seturl - Url to settype - GrowlType
GrowlType
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
GrowlType type)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)url - Url to settype - GrowlType
GrowlType
public static final Growl growl(String message,
GrowlOptions options)
message - Message to setoptions - custom options
GrowlOptions
public static final Growl growl(String title,
String message,
GrowlOptions options)
title - Title to setmessage - Message to setoptions - custom options
GrowlOptions
public static final Growl growl(String title,
String message,
String icon,
GrowlOptions options)
title - Title to setmessage - Message to seticon - Icon to setoptions - custom options
GrowlOptions
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
GrowlOptions options)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)options - custom options
GrowlOptions
public static final Growl growl(String title,
String message,
String icon,
String url,
GrowlOptions options)
title - Title to setmessage - Message to seticon - Icon to seturl - Url to setoptions - custom options
GrowlOptions
public static final Growl growl(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
GrowlOptions options)
title - Title to setmessage - Message to seticonType - IconType to seturl - Url to setoptions - custom options
GrowlOptionspublic static final void hideAll()
public static final void hideAll(GrowlPosition position)
position - Growls position on screen.GrowlPositionpublic final void updateTitle(String title)
title - Title to setpublic final void updateMessage(String message)
message - Message to setpublic final void updateIcon(String icon)
icon - Icon to setpublic final void updateIcon(org.gwtbootstrap3.client.ui.constants.IconType type)
type - IconType to get CSS class name to setpublic final void updateType(GrowlType type)
type - one of INFO, WARNING, DANGER, SUCCESSGrowlTypepublic final void hide()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||