public class ShowNotificationTask extends ProcessElement
Notify
.config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
ShowNotificationTask() |
ShowNotificationTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getAutoDismiss()
Auto-dismiss message after a short duration.
|
java.lang.String |
getMessage()
Message to display.
|
java.lang.String |
getNotifyType()
NotifyType for message.
|
static ShowNotificationTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getPosition()
Where to show the message, specified as an edge ("T", "B", "R", "L") similar to
Canvas.snapTo , or "C" for center. |
UserSummary |
getTextFormula()
Formula to be used to calculate the message contents.
|
ShowNotificationTask |
setAutoDismiss(java.lang.Boolean autoDismiss)
Auto-dismiss message after a short duration.
|
ShowNotificationTask |
setMessage(java.lang.String message)
Message to display.
|
ShowNotificationTask |
setNotifyType(java.lang.String notifyType)
NotifyType for message.
|
ShowNotificationTask |
setPosition(java.lang.String position)
Where to show the message, specified as an edge ("T", "B", "R", "L") similar to
Canvas.snapTo , or "C" for center. |
ShowNotificationTask |
setTextFormula(UserSummary textFormula)
Formula to be used to calculate the message contents.
|
completeElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getJsObj, getMockMode, getNextElement, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, isCreated, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setNextElement, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, updateGlobalIDInCriteria, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValues
addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public ShowNotificationTask()
public ShowNotificationTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static ShowNotificationTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ProcessElement
public ShowNotificationTask setAutoDismiss(java.lang.Boolean autoDismiss) throws java.lang.IllegalStateException
autoDismiss
- New autoDismiss value. Default value is trueShowNotificationTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getAutoDismiss()
public ShowNotificationTask setMessage(java.lang.String message) throws java.lang.IllegalStateException
textFormula
.message
- New message value. Default value is nullShowNotificationTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getMessage()
textFormula
.public ShowNotificationTask setNotifyType(java.lang.String notifyType) throws java.lang.IllegalStateException
notifyType
- New notifyType value. Default value is "message"ShowNotificationTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdNotifyType
public java.lang.String getNotifyType()
NotifyType
public ShowNotificationTask setPosition(java.lang.String position) throws java.lang.IllegalStateException
Canvas.snapTo
, or "C" for center. The message will be shown at the center
of the edge specified (or the very center for "C").position
- New position value. Default value is "T"ShowNotificationTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getPosition()
Canvas.snapTo
, or "C" for center. The message will be shown at the center
of the edge specified (or the very center for "C").public ShowNotificationTask setTextFormula(UserSummary textFormula) throws java.lang.IllegalStateException
message
property to assign a static message instead.
Available fields for use in the formula are the current rule
context
.
textFormula
- New textFormula value. Default value is nullShowNotificationTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic UserSummary getTextFormula()
message
property to assign a static message instead.
Available fields for use in the formula are the current rule
context
.