Uses of Class
com.vaadin.copilot.kotlinrewriter.KotlinComponentInfo
Packages that use KotlinComponentInfo
-
Uses of KotlinComponentInfo in com.vaadin.copilot.kotlinrewriter
Methods in com.vaadin.copilot.kotlinrewriter that return KotlinComponentInfoModifier and TypeMethodDescriptionKotlinComponentResolver.resolveOrThrow(ComponentTypeAndSourceLocation location) Resolves the component, or throws explaining why it could not be.Methods in com.vaadin.copilot.kotlinrewriter that return types with arguments of type KotlinComponentInfoModifier and TypeMethodDescriptionKotlinRewriter.addComponentUsingTemplate(KotlinComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) KotlinComponentResolver.resolve(ComponentTypeAndSourceLocation location) Resolves the component, or returns empty.Methods in com.vaadin.copilot.kotlinrewriter with parameters of type KotlinComponentInfoModifier and TypeMethodDescriptionvoidKotlinRewriter.addArguments(KotlinComponentInfo component, String function, List<String> arguments) Adds arguments to a call, creating it if the component has none.voidKotlinRewriter.addCall(KotlinComponentInfo component, String function, Object... parameters) Refused becauseadd-callis only ever sent by "add event listener", whose parameter is a Java lambda template (e -> {}) that is not Kotlin syntax.voidKotlinRewriter.addComment(KotlinComponentInfo component, String comment, CommentType commentType) KotlinRewriter.addComponentUsingTemplate(KotlinComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) KotlinRewriter.addConstructorParameterToClass(KotlinComponentInfo referenceComponent, String parameterTypeName, String suggestedParameterName, boolean storeAsField) booleanKotlinRewriter.delete(KotlinComponentInfo component) voidKotlinRewriter.duplicate(KotlinComponentInfo component, List<KotlinComponentInfo> children) KotlinRewriter.extractComponent(KotlinComponentInfo component, IdentityHashMap<KotlinComponentInfo, List<KotlinComponentInfo>> componentChildren, String extractedComponentClassNameSuggestion) KotlinRewriter.getPropertyValue(KotlinComponentInfo component, String property) voidKotlinRewriter.moveComponent(KotlinComponentInfo component, KotlinComponentInfo container, KotlinComponentInfo reference, Where where, MoveTemplateOptions options) voidKotlinRewriter.removeArguments(KotlinComponentInfo component, String function, Set<String> argumentTexts) Removes arguments from a call, and the call with them when nothing is left.voidKotlinRewriter.removeCalls(KotlinComponentInfo component, String function) Removes every call of this name, not just the last: leaving a second would let it take effect instead of the change just made.voidKotlinRewriter.removePropertySetter(KotlinComponentInfo component, String setter) KotlinRewriter.replaceFunctionCall(KotlinComponentInfo component, String function, Object value) Sets a property, replacing the value the source already states or adding a statement where it states none.voidKotlinRewriter.replaceOrAddCall(KotlinComponentInfo component, String function, Object... parameters) Replaces the arguments of an existing call, or writes the call if there is none.voidKotlinRewriter.setAlignment(KotlinComponentInfo component, AlignmentValues alignment) The alignment badge, in whichever vocabulary the project's theme uses.voidKotlinRewriter.setArguments(KotlinComponentInfo component, String function, Set<String> removing, List<String> adding) Takes some arguments out of a call and puts others in, as one edit.voidKotlinRewriter.setGap(KotlinComponentInfo component, String all, String column, String row) The gap badge: clear the spacing the component had, then write Lumo utility class names under Lumo and inline styles otherwise.voidKotlinRewriter.setPadding(KotlinComponentInfo component, String all, String top, String right, String bottom, String left) The padding badge.voidKotlinRewriter.setSizing(KotlinComponentInfo component, Map<String, String> changes) The sizing panel, which sends a CSS value per dimension ornullto clear it.voidKotlinRewriter.setStyle(KotlinComponentInfo component, String property, String value) voidKotlinRewriter.setStyles(KotlinComponentInfo component, Map<String, String> changes) Applies a whole set of style changes in one pass.voidKotlinRewriter.setStylesClearingWhatIsThere(KotlinComponentInfo component, Map<String, String> changes) AsKotlinRewriter.setStyles(com.vaadin.copilot.kotlinrewriter.KotlinComponentInfo, java.util.Map<java.lang.String, java.lang.String>), but a property that is not set is simply not there.Method parameters in com.vaadin.copilot.kotlinrewriter with type arguments of type KotlinComponentInfoModifier and TypeMethodDescriptionvoidKotlinRewriter.duplicate(KotlinComponentInfo component, List<KotlinComponentInfo> children) KotlinRewriter.extractComponent(KotlinComponentInfo component, IdentityHashMap<KotlinComponentInfo, List<KotlinComponentInfo>> componentChildren, String extractedComponentClassNameSuggestion) KotlinRewriter.extractComponent(KotlinComponentInfo component, IdentityHashMap<KotlinComponentInfo, List<KotlinComponentInfo>> componentChildren, String extractedComponentClassNameSuggestion) voidKotlinRewriter.mergeAndReplace(List<KotlinComponentInfo> components, CopilotComponent wrapperComponent)