Package com.smartgwt.client.ai
Class AIBuildUIResult
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationResult
com.smartgwt.client.ai.AIBuildUIResult
- All Implemented Interfaces:
HasHandlers
The result of an AI build UI 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe palette nodes that were built via AI.getIsNew()
For a successful result,true
if AI created entirely new UI rather than revising the existing UI.static AIBuildUIResult
getOrCreateRef
(JavaScriptObject jsObj) A detailed description, provided via AI, of the purpose of the built UI.A short title, suggested via AI, for the built UI.setBuiltUI
(PaletteNode... builtUI) The palette nodes that were built via AI.For a successful result,true
if AI created entirely new UI rather than revising the existing UI.setUiPurpose
(String uiPurpose) A detailed description, provided via AI, of the purpose of the built UI.setUiTitle
(String uiTitle) A short title, suggested via AI, for the built UI.Methods inherited from class com.smartgwt.client.util.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
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
-
AIBuildUIResult
public AIBuildUIResult() -
AIBuildUIResult
-
-
Method Details
-
getOrCreateRef
-
setBuiltUI
The palette nodes that were built via AI.- Parameters:
builtUI
- New builtUI value. Default value is null- Returns:
AIBuildUIResult
instance, for chaining setter calls
-
getBuiltUI
The palette nodes that were built via AI.- Returns:
- Current builtUI value. Default value is null
-
setIsNew
For a successful result,true
if AI created entirely new UI rather than revising the existing UI.- Parameters:
isNew
- New isNew value. Default value is *initialized by the implementation*- Returns:
AIBuildUIResult
instance, for chaining setter calls
-
getIsNew
For a successful result,true
if AI created entirely new UI rather than revising the existing UI.- Returns:
- Current isNew value. Default value is *initialized by the implementation*
-
setUiPurpose
A detailed description, provided via AI, of the purpose of the built UI.- Parameters:
uiPurpose
- New uiPurpose value. Default value is *initialized by the implementation*- Returns:
AIBuildUIResult
instance, for chaining setter calls
-
getUiPurpose
A detailed description, provided via AI, of the purpose of the built UI.- Returns:
- Current uiPurpose value. Default value is *initialized by the implementation*
-
setUiTitle
A short title, suggested via AI, for the built UI.- Parameters:
uiTitle
- New uiTitle value. Default value is *initialized by the implementation*- Returns:
AIBuildUIResult
instance, for chaining setter calls
-
getUiTitle
A short title, suggested via AI, for the built UI.- Returns:
- Current uiTitle value. Default value is *initialized by the implementation*
-