Class NotifyAction
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.notify.NotifyAction
- All Implemented Interfaces:
- HasHandlers
Represents an action that's associated with a message.  Similar to the object form of 
Callback, except a title must also be specified, which is rendered as a clickable link in the
 message (unless wholeMessage is set).- 
Field SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe callback to fire when the action is executed.Should a click on this action automatically dismiss the associated message?static NotifyActiongetOrCreateRef(JavaScriptObject jsObj) OverridesNotifySettings.actionSeparatorfor this action.getTitle()The title of the action to render into the message.Allows a click anywhere on the notification to execute the action.voidsetActionCallback(NotifyActionCallback callback) The callback to fire when the action is executed.setDismissMessage(Boolean dismissMessage) Should a click on this action automatically dismiss the associated message?setSeparator(String separator) OverridesNotifySettings.actionSeparatorfor this action.The title of the action to render into the message.setWholeMessage(Boolean wholeMessage) Allows a click anywhere on the notification to execute the action.Methods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, 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
- 
Constructor Details- 
NotifyActionpublic NotifyAction()
- 
NotifyAction
 
- 
- 
Method Details- 
getOrCreateRef
- 
setDismissMessageShould a click on this action automatically dismiss the associated message?- Parameters:
- dismissMessage- New dismissMessage value. Default value is null
- Returns:
- NotifyActioninstance, for chaining setter calls
 
- 
getDismissMessageShould a click on this action automatically dismiss the associated message?- Returns:
- Current dismissMessage value. Default value is null
 
- 
setSeparatorOverridesNotifySettings.actionSeparatorfor this action.- Parameters:
- separator- New separator value. Default value is null
- Returns:
- NotifyActioninstance, for chaining setter calls
- See Also:
 
- 
getSeparatorOverridesNotifySettings.actionSeparatorfor this action.- Returns:
- Current separator value. Default value is null
- See Also:
 
- 
setTitleThe title of the action to render into the message.- Parameters:
- title- New title value. Default value is null
- Returns:
- NotifyActioninstance, for chaining setter calls
- See Also:
 
- 
getTitleThe title of the action to render into the message.- Returns:
- Current title value. Default value is null
- See Also:
 
- 
setWholeMessageAllows a click anywhere on the notification to execute the action. If true, the action won't be rendered as a link.- Parameters:
- wholeMessage- New wholeMessage value. Default value is null
- Returns:
- NotifyActioninstance, for chaining setter calls
 
- 
getWholeMessageAllows a click anywhere on the notification to execute the action. If true, the action won't be rendered as a link.- Returns:
- Current wholeMessage value. Default value is null
 
- 
setActionCallbackThe callback to fire when the action is executed.- Parameters:
- callback-
 
- 
getActionCallbackThe callback to fire when the action is executed.- Returns:
- callback
 
 
-