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
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
ConstructorsConstructorDescription -
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 BuildDataBoundUIViaAIRequestgetOrCreateRef(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, setValidationTypesMethods inherited from class com.smartgwt.client.ai.BuildViaAIRequest
getMaxRetries, getProgressDialogProperties, getShowProgressDialog, getUserCanCancel, setMaxRetries, setProgressDialogProperties, setShowProgressDialog, setUserCanCancelMethods 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
-
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
ListGriddisplaying some data from a data source in a list or grid - "chart" - A
FacetChartdisplaying some data from a data source as a chart - "value" - A
Labeldisplaying a single value (scalar) derived from the data in a data source
- Overrides:
setAllowedUITypesin classBuildUIViaAIRequest- Parameters:
allowedUITypes- New allowedUITypes value. Default value is null- Returns:
BuildDataBoundUIViaAIRequestinstance, for chaining setter calls
- "list" - A
-
getAllowedUITypes
The list of allowed, data-bound UI types. The following types are supported by default:- "list" - A
ListGriddisplaying some data from a data source in a list or grid - "chart" - A
FacetChartdisplaying some data from a data source as a chart - "value" - A
Labeldisplaying a single value (scalar) derived from the data in a data source
- Overrides:
getAllowedUITypesin 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:
BuildDataBoundUIViaAIRequestinstance, 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:
-