Uses of Record Class
com.vaadin.copilot.javarewriter.JavaRewriter.JavaComponent
Packages that use JavaRewriter.JavaComponent
-
Uses of JavaRewriter.JavaComponent in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return JavaRewriter.JavaComponentModifier and TypeMethodDescriptionstatic JavaRewriter.JavaComponent
JavaRewriter.JavaComponent.componentFromJson
(elemental.json.JsonObject json) Creates a new JavaComponent instance from a JSON object.Methods in com.vaadin.copilot.javarewriter that return types with arguments of type JavaRewriter.JavaComponentModifier and TypeMethodDescriptionJavaRewriter.JavaComponent.children()
Returns the value of thechildren
record component.static List<JavaRewriter.JavaComponent>
JavaRewriter.JavaComponent.componentsFromJson
(elemental.json.JsonArray template) Creates a new JavaComponent instance from a JSON array.Methods in com.vaadin.copilot.javarewriter with parameters of type JavaRewriter.JavaComponentModifier and TypeMethodDescriptionvoid
JavaRewriter.mergeAndReplace
(List<JavaRewriter.ComponentInfo> components, JavaRewriter.JavaComponent wrapperComponent) Merges all the components and wraps them using the given component and places the result in place of the first component.Method parameters in com.vaadin.copilot.javarewriter with type arguments of type JavaRewriter.JavaComponentModifier and TypeMethodDescriptionvoid
JavaRewriter.addComponentUsingTemplate
(JavaRewriter.ComponentInfo referenceComponent, JavaRewriter.ComponentInfo layout, JavaRewriter.Where where, List<JavaRewriter.JavaComponent> template) Adds the given code snippet to the source code either before the reference component (Where.BEFORE) or by appending to the layout (Where.APPEND).Constructor parameters in com.vaadin.copilot.javarewriter with type arguments of type JavaRewriter.JavaComponentModifierConstructorDescriptionJavaComponent
(String tag, String className, Map<String, Object> props, List<JavaRewriter.JavaComponent> children) Creates an instance of aJavaComponent
record class.