public class NotifyAction extends DataClass
Callback, except a title must also be specified, which is rendered as a clickable link in the message (unless wholeMessage is set).factoryCreated, factoryProperties| Constructor and Description |
|---|
NotifyAction() |
NotifyAction(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
NotifyActionCallback | getActionCallback() The callback to fire when the action is executed. |
java.lang.Boolean | getDismissMessage() Should a click on this action automatically dismiss the associated message? |
static NotifyAction | getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String | getSeparator() Overrides NotifySettings.actionSeparator for this action. |
java.lang.String | getTitle() The title of the action to render into the message. |
java.lang.Boolean | getWholeMessage() Allows a click anywhere on the notification to execute the action. |
void | setActionCallback(NotifyActionCallback callback) The callback to fire when the action is executed. |
NotifyAction | setDismissMessage(java.lang.Boolean dismissMessage) Should a click on this action automatically dismiss the associated message? |
NotifyAction | setSeparator(java.lang.String separator) Overrides NotifySettings.actionSeparator for this action. |
NotifyAction | setTitle(java.lang.String title) The title of the action to render into the message. |
NotifyAction | setWholeMessage(java.lang.Boolean wholeMessage) Allows a click anywhere on the notification to execute the action. |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic NotifyAction()
public NotifyAction(com.google.gwt.core.client.JavaScriptObject jsObj)
public static NotifyAction getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public NotifyAction setDismissMessage(java.lang.Boolean dismissMessage)
dismissMessage - New dismissMessage value. Default value is nullNotifyAction instance, for chaining setter callspublic java.lang.Boolean getDismissMessage()
public NotifyAction setSeparator(java.lang.String separator)
NotifySettings.actionSeparator for this action.separator - New separator value. Default value is nullNotifyAction instance, for chaining setter callsHTMLStringpublic java.lang.String getSeparator()
NotifySettings.actionSeparator for this action.HTMLStringpublic NotifyAction setTitle(java.lang.String title)
title - New title value. Default value is nullNotifyAction instance, for chaining setter callsHTMLStringpublic java.lang.String getTitle()
HTMLStringpublic NotifyAction setWholeMessage(java.lang.Boolean wholeMessage)
wholeMessage - New wholeMessage value. Default value is nullNotifyAction instance, for chaining setter callspublic java.lang.Boolean getWholeMessage()
public void setActionCallback(NotifyActionCallback callback)
callback - public NotifyActionCallback getActionCallback()