Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Update java wrapper to stable version (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneToIgnore committed Sep 28, 2018
1 parent a562207 commit 812e7f0
Showing 1 changed file with 25 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2017 Vaadin Ltd.
*
* Copyright 2000-2018 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
Expand All @@ -16,16 +16,18 @@
package com.vaadin.flow.component.contextmenu;

import javax.annotation.Generated;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.HtmlImport;
import com.vaadin.flow.component.HasStyle;

import com.vaadin.flow.component.ClickNotifier;
import com.vaadin.flow.component.Synchronize;
import elemental.json.JsonObject;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.ComponentEvent;
import com.vaadin.flow.component.ComponentEventListener;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Synchronize;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.HtmlImport;
import com.vaadin.flow.shared.Registration;
import com.vaadin.flow.component.Component;

import elemental.json.JsonObject;

/**
* <p>
Expand Down Expand Up @@ -135,8 +137,8 @@
* how to apply styles for shadow parts</a>
* </p>
*/
@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT",
"WebComponent: Vaadin.ContextMenuElement#4.0.1", "Flow#1.0-SNAPSHOT" })
@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.1-SNAPSHOT",
"WebComponent: Vaadin.ContextMenuElement#4.1.0", "Flow#1.1-SNAPSHOT" })
@Tag("vaadin-context-menu")
@HtmlImport("frontend://bower_components/vaadin-context-menu/src/vaadin-context-menu.html")
public abstract class GeneratedVaadinContextMenu<R extends GeneratedVaadinContextMenu<R>>
Expand All @@ -153,7 +155,7 @@ public abstract class GeneratedVaadinContextMenu<R extends GeneratedVaadinContex
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
* </p>
*
*
* @return the {@code selector} property from the webcomponent
*/
protected String getSelectorString() {
Expand All @@ -168,7 +170,7 @@ protected String getSelectorString() {
* CSS selector that can be used to target any child element of the context
* menu to listen for {@code openOn} events.
* </p>
*
*
* @param selector
* the String value to set
*/
Expand All @@ -186,7 +188,7 @@ protected void setSelector(String selector) {
* This property is synchronized automatically from client side when a
* 'opened-changed' event happens.
* </p>
*
*
* @return the {@code opened} property from the webcomponent
*/
@Synchronize(property = "opened", value = "opened-changed")
Expand All @@ -204,7 +206,7 @@ protected boolean isOpenedBoolean() {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
* </p>
*
*
* @return the {@code openOn} property from the webcomponent
*/
protected String getOpenOnString() {
Expand All @@ -218,7 +220,7 @@ protected String getOpenOnString() {
* <p>
* Event name to listen for opening the context menu.
* </p>
*
*
* @param openOn
* the String value to set
*/
Expand All @@ -238,7 +240,7 @@ protected void setOpenOn(String openOn) {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
* </p>
*
*
* @return the {@code listenOn} property from the webcomponent
*/
protected JsonObject getListenOnJsonObject() {
Expand All @@ -254,7 +256,7 @@ protected JsonObject getListenOnJsonObject() {
* default the vaadin-context-menu listens to the target's
* {@code vaadin-contextmenu} events.
* </p>
*
*
* @param listenOn
* the JsonObject value to set
*/
Expand All @@ -272,7 +274,7 @@ protected void setListenOn(JsonObject listenOn) {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
* </p>
*
*
* @return the {@code closeOn} property from the webcomponent
*/
protected String getCloseOnString() {
Expand All @@ -286,7 +288,7 @@ protected String getCloseOnString() {
* <p>
* Event name to listen for closing the context menu.
* </p>
*
*
* @param closeOn
* the String value to set
*/
Expand Down Expand Up @@ -335,7 +337,7 @@ public boolean isOpened() {
/**
* Adds a listener for {@code opened-changed} events fired by the
* webcomponent.
*
*
* @param listener
* the listener
* @return a {@link Registration} for removing the event listener
Expand All @@ -348,4 +350,4 @@ protected Registration addOpenedChangeListener(
new OpenedChangeEvent<R>((R) this,
event.isUserOriginated())));
}
}
}

0 comments on commit 812e7f0

Please sign in to comment.