Uses of Enum Class
com.vaadin.copilot.rewriter.Where
Packages that use Where
Package
Description
-
Uses of Where in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter with parameters of type WhereModifier and TypeMethodDescriptionJavaRewriter.addComponentUsingTemplate(ComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) Adds the given code snippet to the source code either before the reference component (Where.BEFORE) or by appending to the layout (Where.APPEND).JavaRewriter.attachComponent(InsertionPoint insertionPoint, CopilotComponent component, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, com.github.javaparser.ast.expr.Expression variableNameExpr, String variableName, AddTemplateOptions options, Where where) JavaRewriter.attachComponent(InsertionPoint insertionPoint, CopilotComponent component, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, com.github.javaparser.ast.expr.Expression variableNameExpr, String variableName, AddTemplateOptions options, Where where, com.github.javaparser.ast.expr.ObjectCreationExpr initializer) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, CopilotComponent maybeCopilotComponent, boolean attach, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, List<CopilotComponent> template, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) JavaRewriter.findInsertionPointForAppend(ComponentInfo component, Where where) voidJavaRewriter.moveComponent(ComponentInfo component, ComponentInfo container, ComponentInfo reference, Where where, MoveTemplateOptions options) Moves a component in the source code. -
Uses of Where in com.vaadin.copilot.kotlinrewriter
Methods in com.vaadin.copilot.kotlinrewriter with parameters of type WhereModifier and TypeMethodDescriptionKotlinRewriter.addComponentUsingTemplate(KotlinComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) voidKotlinRewriter.moveComponent(KotlinComponentInfo component, KotlinComponentInfo container, KotlinComponentInfo reference, Where where, MoveTemplateOptions options) -
Uses of Where in com.vaadin.copilot.rewriter
Methods in com.vaadin.copilot.rewriter that return WhereModifier and TypeMethodDescriptionstatic WhereReturns the enum constant of this class with the specified name.static Where[]Where.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.copilot.rewriter with parameters of type WhereModifier and TypeMethodDescriptionCopilotRewriter.addComponentUsingTemplate(C referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) Adds components described by a template, as sent when dropping from the palette, pasting, or importing a design.voidCopilotRewriter.moveComponent(C component, C container, C reference, Where where, MoveTemplateOptions options) Moves a component into a container, relative to a reference component.