Package com.smartgwt.client.ai
Class AIBuildUIParams
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationParams
com.smartgwt.client.ai.AIBuildUIParams
- All Implemented Interfaces:
HasHandlers
Additional parameters for an operation to build UI.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe source of the request.static AIBuildUIParamsgetOrCreateRef(JavaScriptObject jsObj) An optional string that describes the purpose of the UI.setAIRequestSource(AIMessageSource aiRequestSource) The source of the request.setUiPurpose(String uiPurpose) An optional string that describes the purpose of the UI.Methods inherited from class com.smartgwt.client.util.AsyncOperationParams
getCancellationController, setCancellationControllerMethods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetIDMethods inherited from class com.smartgwt.client.core.DataClass
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
-
Constructor Details
-
AIBuildUIParams
public AIBuildUIParams() -
AIBuildUIParams
-
-
Method Details
-
getOrCreateRef
-
setAIRequestSource
The source of the request.- Parameters:
aiRequestSource- New aiRequestSource value. Default value is "user"- Returns:
AIBuildUIParamsinstance, for chaining setter calls
-
getAIRequestSource
The source of the request.- Returns:
- Current aiRequestSource value. Default value is "user"
-
setUiPurpose
An optional string that describes the purpose of the UI.- Parameters:
uiPurpose- New uiPurpose value. Default value is null- Returns:
AIBuildUIParamsinstance, for chaining setter calls
-
getUiPurpose
An optional string that describes the purpose of the UI.- Returns:
- Current uiPurpose value. Default value is null
-