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.
|
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 |
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, setFactoryCreated
public NotifyAction()
public NotifyAction(com.google.gwt.core.client.JavaScriptObject jsObj)
public static NotifyAction getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public NotifyAction setSeparator(java.lang.String separator)
NotifySettings.actionSeparator
for this action.separator
- New separator value. Default value is nullNotifyAction
instance, for chaining setter callsHTMLString
public java.lang.String getSeparator()
NotifySettings.actionSeparator
for this action.HTMLString
public NotifyAction setTitle(java.lang.String title)
title
- New title value. Default value is nullNotifyAction
instance, for chaining setter callsHTMLString
public java.lang.String getTitle()
HTMLString
public 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()