|
||||||||||
| 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.notify.client.ui.Notify
public class Notify
This class represent instance of displayed Notify.
You can display new Notify using static methods, e.g.:notify(String),
notify(String, NotifyType),
notify(String, NotifySettings) and others
To further configure Notify before displaying see:
NotifySettings
You can update displayed Notify by:
updateTitle(String),
updateMessage(String),
updateIcon(String),
updateType(NotifyType),
You can hide displayed Notify:
hide(),
hideAll(),
hideAll(NotifyPlacement)
| Constructor Summary | |
|---|---|
protected |
Notify()
|
| Method Summary | |
|---|---|
void |
hide()
Hide this Notify. |
static void |
hideAll()
Hide all displayed Notifies. |
static void |
hideAll(NotifyPlacement placement)
Hide all displayed Notifies on specific screen location. |
static Notify |
notify(String message)
Display Notify with custom message, and default settings. |
static Notify |
notify(String message,
NotifySettings settings)
Display Notify with custom message and custom settings. |
static Notify |
notify(String message,
NotifyType type)
Display Notify with custom message, type and default settings. |
static Notify |
notify(String title,
String message)
Display Notify with custom title, message, and default settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType)
Display Notify with custom title, message, icon, and default settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
NotifySettings settings)
Display Notify with custom title, message, icon and custom settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
NotifyType type)
Display Notify with custom title, message, icon, type and default settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url)
Display Notify with custom title, message, icon, url and default settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
NotifySettings settings)
Display Notify with custom title, message, icon, URL and custom settings. |
static Notify |
notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
NotifyType type)
Display Notify with custom title, message, icon, url, type and default settings. |
static Notify |
notify(String title,
String message,
NotifySettings settings)
Display Notify with custom title, message and custom settings. |
static Notify |
notify(String title,
String message,
NotifyType type)
Display Notify with custom title, message, type and default settings. |
static Notify |
notify(String title,
String message,
String icon)
Display Notify with custom title, message, icon, and default settings. |
static Notify |
notify(String title,
String message,
String icon,
NotifySettings settings)
Display Notify with custom title, message, icon and custom settings. |
static Notify |
notify(String title,
String message,
String icon,
NotifyType type)
Display Notify with custom title, message, icon, type and default settings. |
static Notify |
notify(String title,
String message,
String icon,
String url)
Display Notify with custom title, message, icon, URL, and default settings. |
static Notify |
notify(String title,
String message,
String icon,
String url,
NotifySettings settings)
Display Notify with custom title, message, icon, URL and custom settings. |
static Notify |
notify(String title,
String message,
String icon,
String url,
NotifyType type)
Display Notify with custom title, message, icon, url, type and default settings. |
void |
updateIcon(org.gwtbootstrap3.client.ui.constants.IconType type)
Updates Icon parameter of once displayed Notify. |
void |
updateIcon(String icon)
Updates Icon parameter of once displayed Notify. |
void |
updateMessage(String message)
Updates message parameter of once displayed Notify. |
void |
updateTitle(String title)
Updates title parameter of once displayed Notify. |
void |
updateType(NotifyType type)
Update type of once displayed Notify (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 Notify()
| Method Detail |
|---|
public static final Notify notify(String message)
message - Message to set
public static final Notify notify(String title,
String message)
title - Title to setmessage - Message to set
public static final Notify notify(String title,
String message,
String icon)
title - Title to setmessage - Message to seticon - Icon to set
public static final Notify notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType)
title - Title to setmessage - Message to seticonType - IconType to set
public static final Notify notify(String title,
String message,
String icon,
String url)
title - Title to setmessage - Message to seticon - IconType to seturl - Url to set
public static final Notify notify(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 Notify notify(String message,
NotifyType type)
message - Message to settype - NotifyType
NotifyType
public static final Notify notify(String title,
String message,
NotifyType type)
title - Title to setmessage - Message to settype - NotifyType
NotifyType
public static final Notify notify(String title,
String message,
String icon,
NotifyType type)
title - Title to setmessage - Message to seticon - Icon to settype - NotifyType
NotifyType
public static final Notify notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
NotifyType type)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)type - NotifyType
NotifyType
public static final Notify notify(String title,
String message,
String icon,
String url,
NotifyType type)
title - Title to setmessage - Message to seticon - Icon to seturl - Url to settype - NotifyType
NotifyType
public static final Notify notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
NotifyType type)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)url - Url to settype - NotifyType
NotifyType
public static final Notify notify(String message,
NotifySettings settings)
message - Message to setsettings - custom settings
NotifySettings
public static final Notify notify(String title,
String message,
NotifySettings settings)
title - Title to setmessage - Message to setsettings - custom settings
NotifySettings
public static final Notify notify(String title,
String message,
String icon,
NotifySettings settings)
title - Title to setmessage - Message to seticon - Icon to setsettings - custom settings
NotifySettings
public static final Notify notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
NotifySettings settings)
title - Title to setmessage - Message to seticonType - IconType to set (css name of icon form FONT AWESOME)settings - custom settings
NotifySettings
public static final Notify notify(String title,
String message,
String icon,
String url,
NotifySettings settings)
title - Title to setmessage - Message to seticon - Icon to seturl - Url to setsettings - custom settings
NotifySettings
public static final Notify notify(String title,
String message,
org.gwtbootstrap3.client.ui.constants.IconType iconType,
String url,
NotifySettings settings)
title - Title to setmessage - Message to seticonType - IconType to seturl - Url to setsettings - custom settings
NotifySettingspublic static final void hideAll()
public static final void hideAll(NotifyPlacement placement)
placement - Notify's placement on screen.NotifyPlacementpublic 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(NotifyType type)
type - one of INFO, WARNING, DANGER, SUCCESSNotifyTypepublic final void hide()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||