Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttachmentClickListener(AIMessageList.AttachmentClickCallback) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList
-
Adds a listener that is called when an attachment in the message list is clicked.
- addMessage(String, String, List<AIAttachment>) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList
-
Creates a new message with the given parameters and attachments.
- addStateChangeListener(SerializableConsumer<ChartState>) - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
-
Adds a listener that is notified when the chart state changes after an AI request completes successfully.
- addStateChangeListener(SerializableConsumer<GridState>) - Method in class com.vaadin.flow.component.ai.grid.GridAIController
-
Adds a listener that is notified when the grid state changes after an AI request completes successfully.
- addSubmitListener(SerializableConsumer<String>) - Method in interface com.vaadin.flow.component.ai.ui.AIInput
-
Adds a listener for submit events.
- AI_COMPONENTS - Static variable in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
-
The AI components feature flag.
- AIAttachment - Record Class in com.vaadin.flow.component.ai.common
-
Represents an attachment that can be sent to an LLM and displayed in messages.
- AIAttachment(String, String, byte[]) - Constructor for record class com.vaadin.flow.component.ai.common.AIAttachment
-
Creates a new attachment.
- AIComponentsExperimentalFeatureException - Exception Class in com.vaadin.flow.component.ai
-
An exception which is thrown when somebody attempts to use AI component features without activating the associated feature flag first.
- AIComponentsExperimentalFeatureException() - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a default message.
- AIComponentsExperimentalFeatureException(String) - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a message that includes the specific component name.
- AIComponentsExperimentalFeatureException(String, String) - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a message that includes the specific component name and feature flag ID.
- AIComponentsFeatureFlagProvider - Class in com.vaadin.flow.component.ai
-
Provides the AI components feature flag for AI-related features such as AIOrchestrator, modular upload components, and MessageListItem attachments.
- AIComponentsFeatureFlagProvider() - Constructor for class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
- AIController - Interface in com.vaadin.flow.component.ai.orchestrator
-
Interface for AI controllers that extend orchestrator capabilities by providing tools that the LLM can use.
- AIFileReceiver - Interface in com.vaadin.flow.component.ai.ui
-
Interface for file upload components that are used in an AI conversation.
- AIInput - Interface in com.vaadin.flow.component.ai.ui
-
Interface for input components that are used in an AI conversation.
- AIMessage - Interface in com.vaadin.flow.component.ai.ui
-
Represents a message in an AI conversation.
- AIMessageList - Interface in com.vaadin.flow.component.ai.ui
-
Interface for message list components that can display AI conversation messages.
- AIMessageList.AttachmentClickCallback - Interface in com.vaadin.flow.component.ai.ui
-
Callback for attachment click events in the message list.
- AIOrchestrator - Class in com.vaadin.flow.component.ai.orchestrator
-
Orchestrator for AI-powered chat interfaces.
- AIOrchestrator.Builder - Class in com.vaadin.flow.component.ai.orchestrator
-
Builder for configuring and creating an
AIOrchestratorinstance. - AIOrchestrator.Reconnector - Class in com.vaadin.flow.component.ai.orchestrator
-
Fluent API for restoring transient dependencies on an
AIOrchestratorafter deserialization. - ALIGN - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- ALPHA - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- ANIMATION - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- appendText(String) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Appends text to the existing message content.
- apply() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Applies the reconnection, restoring the provider, tools, and conversation history on the new provider.
- ASSISTANT - Enum constant in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
A message sent by the AI assistant.
- AttachmentClickListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for attachment click events.
- AttachmentClickListener.AttachmentClickEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired when an attachment in the message list is clicked.
- AttachmentContentType - Enum Class in com.vaadin.flow.component.ai.common
-
Supported content type categories for attachments.
- attachments() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the list of file attachments to include with the request.
- AttachmentSubmitListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for attachment submit events.
- AttachmentSubmitListener.AttachmentSubmitEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired when a message with attachments is submitted to the LLM provider.
- AUDIO - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Audio content types (audio/*).
B
- BACK - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BACKGROUND_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BETA - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BORDER_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BORDER_RADIUS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BORDER_WIDTH - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- BOTTOM - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- build() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Builds the orchestrator.
- builder(LLMProvider, String) - Static method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Creates a new builder for AIOrchestrator with a system prompt.
C
- CATEGORIES - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- CENTER - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- CHART - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- ChartAIController - Class in com.vaadin.flow.component.ai.chart
-
AI controller for creating interactive chart visualizations from database data.
- ChartAIController(Chart, DatabaseProvider) - Constructor for class com.vaadin.flow.component.ai.chart.ChartAIController
-
Creates a new AI chart controller.
- ChartAITools - Class in com.vaadin.flow.component.ai.chart
-
Factory for creating reusable chart
LLMProvider.ToolSpecinstances. - ChartAITools.Callbacks - Interface in com.vaadin.flow.component.ai.chart
-
Callback interface that chart tool consumers must implement to provide chart state access and mutation operations.
- ChartConfigurationParser - Class in com.vaadin.flow.component.ai.chart
-
Parses a Highcharts JSON configuration string into a Vaadin
Configurationobject. - ChartRenderer - Class in com.vaadin.flow.component.ai.chart
-
Stateless utility for rendering chart data from SQL queries.
- ChartState - Record Class in com.vaadin.flow.component.ai.chart
-
Serializable chart state for persistence across sessions.
- ChartState(List<String>, Configuration) - Constructor for record class com.vaadin.flow.component.ai.chart.ChartState
-
Creates a new state instance.
- ChatMessage - Record Class in com.vaadin.flow.component.ai.common
-
Represents a chat message in a conversation history.
- ChatMessage(ChatMessage.Role, String, String, Instant) - Constructor for record class com.vaadin.flow.component.ai.common.ChatMessage
-
Creates a new chat message.
- ChatMessage.Role - Enum Class in com.vaadin.flow.component.ai.common
-
The role of a message sender in a conversation.
- CLOSE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- COLOR_AXIS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- COLOR_VALUE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- ColumnNames - Class in com.vaadin.flow.component.ai.chart
-
Column name constants used by
DefaultDataConverterfor pattern matching. - com.vaadin.flow.component.ai - package com.vaadin.flow.component.ai
- com.vaadin.flow.component.ai.chart - package com.vaadin.flow.component.ai.chart
- com.vaadin.flow.component.ai.common - package com.vaadin.flow.component.ai.common
- com.vaadin.flow.component.ai.grid - package com.vaadin.flow.component.ai.grid
- com.vaadin.flow.component.ai.orchestrator - package com.vaadin.flow.component.ai.orchestrator
- com.vaadin.flow.component.ai.provider - package com.vaadin.flow.component.ai.provider
- com.vaadin.flow.component.ai.ui - package com.vaadin.flow.component.ai.ui
- COMPLETED - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- configuration() - Method in record class com.vaadin.flow.component.ai.chart.ChartState
-
Returns the value of the
configurationrecord component. - ConfigurationKeys - Class in com.vaadin.flow.component.ai.chart
-
Highcharts configuration property key constants used by
ChartConfigurationParserand referenced in theChartAITools.updateChartConfiguration(com.vaadin.flow.component.ai.chart.ChartAITools.Callbacks)tool parameter schema. - content() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
contentrecord component. - convertToSeries(List<Map<String, Object>>) - Method in interface com.vaadin.flow.component.ai.chart.DataConverter
-
Converts tabular data into one or more chart series.
- convertToSeries(List<Map<String, Object>>) - Method in class com.vaadin.flow.component.ai.chart.DefaultDataConverter
- createAll(ChartAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.chart.ChartAITools
-
Creates all chart tools for the given callbacks.
- createAll(GridAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.grid.GridAITools
-
Creates all grid tools for the given callbacks.
- createAll(DatabaseProvider) - Static method in class com.vaadin.flow.component.ai.provider.DatabaseProviderAITools
-
Creates all database provider tools for the given provider.
- CREDITS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
D
- data() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
datarecord component. - DatabaseProvider - Interface in com.vaadin.flow.component.ai.provider
-
Provider for database schema information and SQL query execution on behalf of an LLM.
- DatabaseProviderAITools - Class in com.vaadin.flow.component.ai.provider
-
Factory for creating reusable database
LLMProvider.ToolSpecinstances. - DataConverter - Interface in com.vaadin.flow.component.ai.chart
-
Converts tabular data into chart
Seriesfor rendering. - DefaultDataConverter - Class in com.vaadin.flow.component.ai.chart
-
Default implementation of
DataConverterthat handles common data conversion patterns for various chart types. - DefaultDataConverter() - Constructor for class com.vaadin.flow.component.ai.chart.DefaultDataConverter
- DEPENDENCY - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- DEPTH - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- DESCRIPTION - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
E
- ENABLED - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- END - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- END_ANGLE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- equals(Object) - Method in record class com.vaadin.flow.component.ai.chart.ChartState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.component.ai.grid.GridState
-
Indicates whether some other object is "equal to" this one.
- execute(JsonNode) - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.ToolSpec
-
Executes the tool with the given arguments.
- executeQuery(String) - Method in interface com.vaadin.flow.component.ai.provider.DatabaseProvider
-
Executes the given SQL query and returns the results.
- explicitTools() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the explicit tool definitions for this request.
F
- FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
-
The feature flag ID for AI components.
- FRAME - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- FROM - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- fromMimeType(String) - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Detects the content type category from a MIME type string.
G
- getAttachmentIndex() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener.AttachmentClickEvent
-
Gets the index of the clicked attachment within the message.
- getAttachments() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener.AttachmentSubmitEvent
-
Gets the attachments included with the message.
- getChartIds() - Method in interface com.vaadin.flow.component.ai.chart.ChartAITools.Callbacks
-
Returns the set of available chart IDs.
- getChartState(ChartAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.chart.ChartAITools
- getDatabaseSchema(DatabaseProvider) - Static method in class com.vaadin.flow.component.ai.provider.DatabaseProviderAITools
-
Creates a tool that retrieves the database schema from the
DatabaseProvider. - getDescription() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.ToolSpec
-
Gets a human-readable description of what this tool does.
- getFeatures() - Method in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
- getGridIds() - Method in interface com.vaadin.flow.component.ai.grid.GridAITools.Callbacks
-
Returns the set of available grid IDs.
- getGridState(GridAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.grid.GridAITools
-
Creates a tool that returns the current grid state.
- getHistory() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Returns the conversation history.
- getMessageId() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener.AttachmentClickEvent
-
Gets the unique identifier for the message containing the clicked attachment.
- getMessageId() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener.AttachmentSubmitEvent
-
Gets the unique identifier for the message that these attachments belong to.
- getName() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.ToolSpec
-
Gets the unique name of this tool.
- getParametersSchema() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.ToolSpec
-
Gets the JSON Schema describing the parameters this tool accepts.
- getPlotOptionsSchema() - Static method in class com.vaadin.flow.component.ai.chart.ChartAITools
-
Tool that returns the JSON schema for a specific chart type's plot options.
- getResponse() - Method in class com.vaadin.flow.component.ai.orchestrator.ResponseCompleteListener.ResponseCompleteEvent
-
Gets the full text of the assistant's response.
- getSchema() - Method in interface com.vaadin.flow.component.ai.provider.DatabaseProvider
-
Returns a text description of the database schema available to the LLM.
- getState() - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
-
Returns the current chart state, including the SQL queries and configuration.
- getState() - Method in class com.vaadin.flow.component.ai.grid.GridAIController
-
Returns the current grid state for persistence, or
nullif no data has been loaded yet. - getState(String) - Method in interface com.vaadin.flow.component.ai.chart.ChartAITools.Callbacks
-
Returns the current state of a chart including its Highcharts configuration and SQL queries.
- getState(String) - Method in interface com.vaadin.flow.component.ai.grid.GridAITools.Callbacks
-
Returns the current state of a grid as a JSON string.
- getSystemPrompt() - Static method in class com.vaadin.flow.component.ai.chart.ChartAIController
-
Returns the recommended system prompt for chart visualization capabilities.
- getSystemPrompt() - Static method in class com.vaadin.flow.component.ai.grid.GridAIController
-
Returns the recommended system prompt for grid data display capabilities.
- getText() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the message text.
- getTime() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the timestamp of the message.
- getTools() - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
- getTools() - Method in class com.vaadin.flow.component.ai.grid.GridAIController
- getTools() - Method in interface com.vaadin.flow.component.ai.orchestrator.AIController
-
Returns the tools this controller provides to the LLM.
- getUserName() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the name of the message sender.
- GridAIController - Class in com.vaadin.flow.component.ai.grid
-
AI controller for populating a
Gridwith database data via LLM tool calls. - GridAIController(Grid<Map<String, Object>>, DatabaseProvider) - Constructor for class com.vaadin.flow.component.ai.grid.GridAIController
-
Creates a new grid AI controller.
- GridAITools - Class in com.vaadin.flow.component.ai.grid
-
Factory for creating reusable grid
LLMProvider.ToolSpecinstances. - GridAITools.Callbacks - Interface in com.vaadin.flow.component.ai.grid
-
Callback interface for grid state access and mutation.
- GridRenderer - Class in com.vaadin.flow.component.ai.grid
-
Stateless utility for rendering grid data from SQL queries.
- GridState - Record Class in com.vaadin.flow.component.ai.grid
-
Serializable grid state for persistence across sessions.
- GridState(String) - Constructor for record class com.vaadin.flow.component.ai.grid.GridState
-
Creates an instance of a
GridStaterecord class.
H
- hashCode() - Method in record class com.vaadin.flow.component.ai.chart.ChartState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.component.ai.grid.GridState
-
Returns a hash code value for this object.
- HEADER_FORMAT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- HEIGHT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- HIGH - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- HREF - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
I
- ID - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- IMAGE - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Image content types (image/*).
- IMAGE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- INVERTED - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
L
- LABEL - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- LangChain4JLLMProvider - Class in com.vaadin.flow.component.ai.provider
-
LangChain4j implementation of
LLMProvider. - LangChain4JLLMProvider(ChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
-
Constructor with a non-streaming chat model.
- LangChain4JLLMProvider(StreamingChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
-
Constructor with a streaming chat model.
- LAYOUT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- LEGEND - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- LLMProvider - Interface in com.vaadin.flow.component.ai.provider
-
Framework-agnostic interface for Large Language Model (LLM) providers.
- LLMProvider.LLMRequest - Interface in com.vaadin.flow.component.ai.provider
-
Represents a request to the LLM containing all necessary context, configuration, and tools.
- LLMProvider.ToolSpec - Interface in com.vaadin.flow.component.ai.provider
-
A framework-agnostic tool definition that the LLM can invoke.
- LOW - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
M
- main(String[]) - Static method in class com.vaadin.flow.component.ai.chart.PlotOptionsSchemaGenerator
-
Entry point for the build-time generation.
- MARGIN_BOTTOM - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MARGIN_LEFT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MARGIN_RIGHT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MARGIN_TOP - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MAX - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MAX_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MEDIAN - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- merge(String, Configuration) - Static method in class com.vaadin.flow.component.ai.chart.ChartConfigurationParser
-
Parses a JSON configuration string and applies the values onto the given
Configuration. - messageId() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
messageIdrecord component. - mimeType() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
mimeTyperecord component. - MIN - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- MIN_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
N
- name() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
namerecord component. - NAME - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- NAME - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
O
- onAttachmentClick(AttachmentClickListener.AttachmentClickEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener
-
Called when an attachment in the message list is clicked.
- onAttachmentClick(AIMessage, int) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList.AttachmentClickCallback
-
Called when an attachment in the message list is clicked.
- onAttachmentSubmit(AttachmentSubmitListener.AttachmentSubmitEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener
-
Called when a message with attachments is submitted to the LLM provider.
- onRequestCompleted() - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
- onRequestCompleted() - Method in class com.vaadin.flow.component.ai.grid.GridAIController
- onRequestCompleted() - Method in interface com.vaadin.flow.component.ai.orchestrator.AIController
-
Called by the orchestrator when an LLM request cycle has completed.
- onResponseComplete(ResponseCompleteListener.ResponseCompleteEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.ResponseCompleteListener
-
Called when the assistant's response has been fully streamed and recorded in the conversation history.
- OPEN - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- OPPOSITE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- OPTIONS_3D - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
P
- PANE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PARENT - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- parse(String) - Static method in class com.vaadin.flow.component.ai.chart.ChartConfigurationParser
-
Parses a Highcharts JSON configuration string into a new
Configurationobject. - PDF - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
PDF content types (application/pdf, application/x-pdf).
- PLOT_BACKGROUND_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PLOT_BORDER_COLOR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PLOT_BORDER_WIDTH - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PLOT_OPTIONS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PlotOptionsSchemaGenerator - Class in com.vaadin.flow.component.ai.chart
-
Build-time generator that produces complete JSON schemas for each chart type's plot options, including property descriptions parsed from JavaDoc.
- POINT_FORMAT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- POLAR - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- PREFIX - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
-
Prefix applied to all column name constants to distinguish converter control columns from real data columns.
- prompt(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Sends a prompt to the AI orchestrator programmatically.
Q
- Q1 - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- Q3 - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- queries() - Method in record class com.vaadin.flow.component.ai.chart.ChartState
-
Returns the value of the
queriesrecord component. - query() - Method in record class com.vaadin.flow.component.ai.grid.GridState
-
Returns the value of the
queryrecord component.
R
- reconnect(LLMProvider) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Returns a
AIOrchestrator.Reconnectorto restore transient dependencies after deserialization. - renderChart(Chart, DatabaseProvider, DataConverter, List<String>, String) - Static method in class com.vaadin.flow.component.ai.chart.ChartRenderer
-
Renders a chart by executing queries, converting results to series, and applying configuration.
- renderGrid(Grid<Map<String, Object>>, DatabaseProvider, String) - Static method in class com.vaadin.flow.component.ai.grid.GridRenderer
-
Renders the grid with results from the given SQL query.
- ResponseCompleteListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for LLM response completion events.
- ResponseCompleteListener.ResponseCompleteEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired after the assistant's response has been fully streamed and added to the conversation history.
- restoreState(ChartState) - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
-
Restores a previously saved chart state.
- restoreState(GridState) - Method in class com.vaadin.flow.component.ai.grid.GridAIController
-
Restores a previously saved grid state.
- role() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
rolerecord component.
S
- SERIES - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- SERIES - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- setDataConverter(DataConverter) - Method in class com.vaadin.flow.component.ai.chart.ChartAIController
-
Sets a custom data converter for transforming query results into chart series data.
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Restores the provider's conversation memory from a list of chat messages with their associated attachments.
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
- setStreaming(boolean) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Sets whether to use streaming mode.
- setText(String) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Sets the message text.
- setTime(Instant) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Sets the timestamp of the message.
- SHARED - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SIDE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SIZE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SPACING_BOTTOM - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SPACING_LEFT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SPACING_RIGHT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SPACING_TOP - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SpringAILLMProvider - Class in com.vaadin.flow.component.ai.provider
-
Spring AI implementation of
LLMProvider. - SpringAILLMProvider(ChatClient) - Constructor for class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Constructor with a chat client.
- SpringAILLMProvider(ChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Constructor with a chat model.
- START - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- START_ANGLE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- stream(LLMProvider.LLMRequest) - Method in class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
- stream(LLMProvider.LLMRequest) - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Streams a response from the LLM based on the provided request.
- stream(LLMProvider.LLMRequest) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
- STYLED_MODE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- SUBTITLE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- systemPrompt() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the system prompt for this specific request.
T
- takeAttachments() - Method in interface com.vaadin.flow.component.ai.ui.AIFileReceiver
-
Returns all accumulated attachments and clears the internal state.
- TARGET - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- TEXT - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Text content types (text/*).
- TEXT - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- TEXT - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- time() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
timerecord component. - TITLE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- TITLE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- TO - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- tools() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the tool objects for this request.
- TOOLTIP - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- TOP - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- toString() - Method in record class com.vaadin.flow.component.ai.chart.ChartState
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.component.ai.grid.GridState
-
Returns a string representation of this record class.
- TYPE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
U
- UNSUPPORTED - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Unsupported or unknown content types.
- updateChartConfiguration(ChartAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.chart.ChartAITools
- updateChartDataSource(ChartAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.chart.ChartAITools
- updateConfiguration(String, String) - Method in interface com.vaadin.flow.component.ai.chart.ChartAITools.Callbacks
-
Updates the chart's Highcharts configuration (type, title, tooltip, axes, legend, etc.).
- updateData(String, String) - Method in interface com.vaadin.flow.component.ai.grid.GridAITools.Callbacks
-
Handles a SQL query for the given grid.
- updateData(String, List<String>) - Method in interface com.vaadin.flow.component.ai.chart.ChartAITools.Callbacks
-
Validates and executes SQL SELECT queries that populate the chart series data.
- updateGridData(GridAITools.Callbacks) - Static method in class com.vaadin.flow.component.ai.grid.GridAITools
-
Creates a tool that updates the grid data with a SQL query.
- USER - Enum constant in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
A message sent by the user.
- userMessage() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the user's message.
V
- VALUE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- VALUE_PREFIX - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- VALUE_SUFFIX - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- valueOf(String) - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERTICAL_ALIGN - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- VIDEO - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Video content types (video/*).
- VIEW_DISTANCE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
W
- WATERFALL_TYPE - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- WEIGHT - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- WIDTH - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- withAssistantName(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the display name for AI assistant messages in the message list.
- withAttachmentClickListener(AttachmentClickListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called when an attachment in the message list is clicked.
- withAttachments(Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Sets the file attachments to restore on the new provider's conversation memory.
- withAttachmentSubmitListener(AttachmentSubmitListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called when a message with attachments is submitted to the LLM provider.
- withController(AIController) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the controller that provides framework-agnostic tools and lifecycle hooks to the orchestrator.
- withController(AIController) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Sets the controller to use after reconnection.
- withFileReceiver(AIFileReceiver) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component for file uploads.
- withFileReceiver(Upload) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component using a Flow Upload component.
- withFileReceiver(UploadManager) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component using a Flow UploadManager.
- withHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the conversation history and associated attachments to restore when the orchestrator is built.
- withInput(AIInput) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the input component.
- withInput(MessageInput) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the input component using a Flow MessageInput component.
- withMessageList(AIMessageList) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the message list component.
- withMessageList(MessageList) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the message list component using a Flow MessageList component.
- withResponseCompleteListener(ResponseCompleteListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called after each successful exchange — when the assistant's response has been fully streamed and added to the conversation history.
- withTools(Object...) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the objects containing vendor-specific tool-annotated methods that will be available to the LLM.
- withTools(Object...) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Sets the objects containing vendor-specific tool-annotated methods that will be available to the LLM.
- withUserName(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the display name for user messages in the message list.
X
- X - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- X_AXIS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- X2 - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
Y
- Y - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- Y_AXIS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
Z
- Z - Static variable in class com.vaadin.flow.component.ai.chart.ColumnNames
- Z_AXIS - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
- ZOOM_TYPE - Static variable in class com.vaadin.flow.component.ai.chart.ConfigurationKeys
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form