Class ShowMessageTask
java.lang.Object
com.smartgwt.client.core.BaseClass
com.smartgwt.client.util.workflow.ProcessElement
com.smartgwt.client.util.workflow.ShowMessageTask
- All Implemented Interfaces:
- HasHandlers
Show an informational message and wait for the user to acknowledge.
- 
Field SummaryFields inherited from class com.smartgwt.client.core.BaseClassconfig, configOnly, factoryCreated, factoryProperties, id, scClassName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreate()Message to display.static ShowMessageTaskgetOrCreateRef(JavaScriptObject jsObj) Formula to be used to calculate the message contents.getType()Message type.setMessage(String message) Message to display.setTextFormula(UserSummary textFormula) Formula to be used to calculate the message contents.setType(ShowMessageType type) Message type.Methods inherited from class com.smartgwt.client.util.workflow.ProcessElementcompleteElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getComponentReferences, getCurrentProcess, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getInvalidTaskMessage, getJsObj, getMockMode, getNextElement, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, getUndefinedComponentMessage, getUnresolvedComponentMessage, getWaitDuration, getWaitFor, getWaitLocator, isCreated, isValid, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setCurrentProcess, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setNextElement, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, setUndefinedComponentMessage, setUnresolvedComponentMessage, setWaitDuration, setWaitFor, setWaitLocator, updateGlobalIDInCriteria, updateGlobalIDInTextFormula, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValuesMethods inherited from class com.smartgwt.client.core.BaseClassaddDynamicProperty, 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
- 
Constructor Details- 
ShowMessageTaskpublic ShowMessageTask()
- 
ShowMessageTask
 
- 
- 
Method Details- 
getOrCreateRef
- 
create- Overrides:
- createin class- ProcessElement
 
- 
setMessageMessage to display. To display a dynamic message seetextFormula.- Parameters:
- message- New message value. Default value is null
- Returns:
- ShowMessageTaskinstance, for chaining setter calls
- Throws:
- IllegalStateException- this property cannot be changed after the underlying component has been created
 
- 
getMessageMessage to display. To display a dynamic message seetextFormula.- Returns:
- Current message value. Default value is null
 
- 
setTextFormulaFormula to be used to calculate the message contents. Usemessageproperty to assign a static message instead.Available fields for use in the formula are the current rule context.- Parameters:
- textFormula- New textFormula value. Default value is null
- Returns:
- ShowMessageTaskinstance, for chaining setter calls
- Throws:
- IllegalStateException- this property cannot be changed after the underlying component has been created
 
- 
getTextFormulaFormula to be used to calculate the message contents. Usemessageproperty to assign a static message instead.Available fields for use in the formula are the current rule context.- Returns:
- Current textFormula value. Default value is null
 
- 
setTypeMessage type.- Parameters:
- type- New type value. Default value is "normal"
- Returns:
- ShowMessageTaskinstance, for chaining setter calls
- Throws:
- IllegalStateException- this property cannot be changed after the underlying component has been created
 
- 
getTypeMessage type.- Returns:
- Current type value. Default value is "normal"
 
 
-