Uses of Record Class
com.vaadin.copilot.javarewriter.JavaComponent
Packages that use JavaComponent
-
Uses of JavaComponent in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return JavaComponentModifier and TypeMethodDescriptionstatic JavaComponentJavaComponent.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 JavaComponentModifier and TypeMethodDescriptionJavaComponent.children()Returns the value of thechildrenrecord component.static List<JavaComponent>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 JavaComponentModifier and TypeMethodDescriptionvoidJavaRewriter.mergeAndReplace(List<ComponentInfo> components, 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 JavaComponentModifier and TypeMethodDescriptionvoidJavaRewriter.addComponentUsingTemplate(ComponentInfo referenceComponent, ComponentInfo layout, JavaRewriter.Where where, List<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 JavaComponentModifierConstructorDescriptionJavaComponent(String tag, String className, Map<String, Object> props, List<JavaComponent> children) Creates an instance of aJavaComponentrecord class.