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 TypeMethodDescriptionstatic booleanFlowComponentQuirks.childrenGeneratesData(JavaComponent parent, JavaComponent child) Returns true if child is not a component but an item that is used in DataProvider.static voidJavaDataProviderHandler.handleDataStatementsAndClearDataProps(com.github.javaparser.ast.CompilationUnit compilationUnit, com.github.javaparser.ast.body.VariableDeclarator parentVarDec, JavaComponent javaComponent, InsertionPoint insertionPoint) Creates the data statements when adding a new template e.g.setItems,setItemLabelGeneratoretc...static booleanFlowComponentQuirks.hasSetItemsProps(JavaComponent component) Checks the given component has items property and supported.voidJavaRewriter.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.static booleanFlowComponentQuirks.skipProps(JavaComponent component, String propKey) Method parameters in com.vaadin.copilot.javarewriter with type arguments of type JavaComponentModifier and TypeMethodDescriptionvoidJavaRewriter.addComponentUsingTemplate(ComponentInfo referenceComponent, 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.