Package com.smartgwt.client.ai
Class BuildDataBoundUIViaAIRequest
- All Implemented Interfaces:
HasHandlers
Represents a request to AI for data-bound UI elements.
-
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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionString[]
The list of allowed, data-bound UI types.String[]
Global IDs of the data sources made available to AI for satisfying the user's request.static BuildDataBoundUIViaAIRequest
getOrCreateRef
(JavaScriptObject jsObj) setAllowedUITypes
(String... allowedUITypes) The list of allowed, data-bound UI types.setAvailableDataSources
(String... availableDataSources) Global IDs of the data sources made available to AI for satisfying the user's request.Methods inherited from class com.smartgwt.client.ai.BuildUIViaAIRequest
getMaxValidationRetries, getUserAIRequest, getValidationTypes, setCustomValidator, setMaxValidationRetries, setUserAIRequest, setValidationTypes
Methods inherited from class com.smartgwt.client.ai.BuildViaAIRequest
getMaxRetries, getProgressDialogProperties, getShowProgressDialog, getUserCanCancel, setMaxRetries, setProgressDialogProperties, setShowProgressDialog, setUserCanCancel
Methods inherited from class com.smartgwt.client.util.AsyncOperationParams
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
-
BuildDataBoundUIViaAIRequest
public BuildDataBoundUIViaAIRequest() -
BuildDataBoundUIViaAIRequest
-
-
Method Details
-
getOrCreateRef
-
setAllowedUITypes
The list of allowed, data-bound UI types. The following types are supported by default:- "list" - A
ListGrid
displaying some data from a data source in a list or grid - "chart" - A
FacetChart
displaying some data from a data source as a chart - "value" - A
Label
displaying a single value (scalar) derived from the data in a data source
- Overrides:
setAllowedUITypes
in classBuildUIViaAIRequest
- Parameters:
allowedUITypes
- New allowedUITypes value. Default value is null- Returns:
BuildDataBoundUIViaAIRequest
instance, for chaining setter calls
- "list" - A
-
getAllowedUITypes
The list of allowed, data-bound UI types. The following types are supported by default:- "list" - A
ListGrid
displaying some data from a data source in a list or grid - "chart" - A
FacetChart
displaying some data from a data source as a chart - "value" - A
Label
displaying a single value (scalar) derived from the data in a data source
- Overrides:
getAllowedUITypes
in classBuildUIViaAIRequest
- Returns:
- Current allowedUITypes value. Default value is null
- "list" - A
-
setAvailableDataSources
Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.- Parameters:
availableDataSources
- New availableDataSources value. Default value is null- Returns:
BuildDataBoundUIViaAIRequest
instance, for chaining setter calls- See Also:
-
getAvailableDataSources
Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.- Returns:
- Current availableDataSources value. Default value is null
- See Also:
-