Package com.smartgwt.client.ai
Class BuildUIViaAIContext
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
BuildDataBoundUIViaAIContext
Context for an ongoing build-UI-via-AI operation.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe initial request.The working JavaScript code.getNodes()
The working PaletteNodes.static BuildUIViaAIContext
getOrCreateRef
(JavaScriptObject jsObj) The AI-selected UI type.setBuildRequest
(BuildUIViaAIRequest buildRequest) The initial request.The working JavaScript code.setNodes
(PaletteNode... nodes) The working PaletteNodes.The AI-selected UI type.Methods inherited from class com.smartgwt.client.ai.BuildViaAIContext
setBuildRequest
Methods inherited from class com.smartgwt.client.util.AsyncOperationContext
getCancellationController, setCancellationController
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
Methods 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
-
BuildUIViaAIContext
public BuildUIViaAIContext() -
BuildUIViaAIContext
-
-
Method Details
-
getOrCreateRef
-
setBuildRequest
The initial request. It is read-only; do not modify it during handling of the request.- Parameters:
buildRequest
- New buildRequest value. Default value is null- Returns:
BuildUIViaAIContext
instance, for chaining setter calls
-
getBuildRequest
The initial request. It is read-only; do not modify it during handling of the request.- Overrides:
getBuildRequest
in classBuildViaAIContext
- Returns:
- Current buildRequest value. Default value is null
-
setJSCode
The working JavaScript code.- Parameters:
jsCode
- New jsCode value. Default value is null- Returns:
BuildUIViaAIContext
instance, for chaining setter calls
-
getJSCode
The working JavaScript code.- Returns:
- Current jsCode value. Default value is null
-
setNodes
The working PaletteNodes.- Parameters:
nodes
- New nodes value. Default value is null- Returns:
BuildUIViaAIContext
instance, for chaining setter calls
-
getNodes
The working PaletteNodes.- Returns:
- Current nodes value. Default value is null
-
setUIType
The AI-selected UI type.- Parameters:
uiType
- New uiType value. Default value is null- Returns:
BuildUIViaAIContext
instance, for chaining setter calls
-
getUIType
The AI-selected UI type.- Returns:
- Current uiType value. Default value is null
-