Class InteractiveFunctionCallRenderer
java.lang.Object
uno.anahata.ai.swing.render.InteractiveFunctionCallRenderer
- All Implemented Interfaces:
PartRenderer
-
Constructor Summary
ConstructorsConstructorDescriptionInteractiveFunctionCallRenderer(com.google.genai.types.FunctionCall functionCall, FunctionConfirmation preference, SwingChatConfig.UITheme theme) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.genai.types.FunctionCallrender(com.google.genai.types.Part part, EditorKitProvider editorKitProvider) Renders a given Part into a JComponent.
-
Constructor Details
-
InteractiveFunctionCallRenderer
public InteractiveFunctionCallRenderer(com.google.genai.types.FunctionCall functionCall, FunctionConfirmation preference, SwingChatConfig.UITheme theme)
-
-
Method Details
-
render
Description copied from interface:PartRendererRenders a given Part into a JComponent.- Specified by:
renderin interfacePartRenderer- Parameters:
part- The Part to render.editorKitProvider- A provider for syntax highlighting, if needed.- Returns:
- A JComponent representing the rendered Part.
-
getFunctionCall
public com.google.genai.types.FunctionCall getFunctionCall() -
getSelectedState
-
