diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-05-03 11:34:43 +0300 |
---|---|---|
committer | Aleksi Hietanen <aleksi@vaadin.com> | 2017-05-03 11:34:43 +0300 |
commit | b60ab78e7ca9ed232eac2388c3a9ca6e1af423af (patch) | |
tree | 36326bf999f58b7501b0a829702f0f1947765325 /client | |
parent | ffafef1a47d177ffc570c9a33788eae929905990 (diff) | |
download | vaadin-framework-b60ab78e7ca9ed232eac2388c3a9ca6e1af423af.tar.gz vaadin-framework-b60ab78e7ca9ed232eac2388c3a9ca6e1af423af.zip |
Add missing since tags for 8.1 (#9220)
Diffstat (limited to 'client')
3 files changed, 21 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/ResourceLoader.java b/client/src/main/java/com/vaadin/client/ResourceLoader.java index 1f8266a98b..53967a74f7 100644 --- a/client/src/main/java/com/vaadin/client/ResourceLoader.java +++ b/client/src/main/java/com/vaadin/client/ResourceLoader.java @@ -481,6 +481,15 @@ public class ResourceLoader { })); }-*/; + /** + * Executes a Runnable when all HTML imports are ready. If the browser does + * not support triggering an event when HTML imports are ready, the Runnable + * is executed immediately. + * + * @param runnable + * the code to execute + * @since 8.1 + */ protected void runWhenHtmlImportsReady(Runnable runnable) { if (GWT.isClient() && supportsHtmlWhenReady()) { addHtmlImportsReadyHandler(() -> { diff --git a/client/src/main/java/com/vaadin/client/connectors/tree/TreeRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/tree/TreeRendererConnector.java index 36d30626fb..5e0be94d9b 100644 --- a/client/src/main/java/com/vaadin/client/connectors/tree/TreeRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/tree/TreeRendererConnector.java @@ -28,6 +28,12 @@ import com.vaadin.ui.Tree.TreeRenderer; import elemental.json.JsonObject; +/** + * Connector for TreeRenderer + * + * @author Vaadin Ltd + * @since 8.1 + */ @Connect(TreeRenderer.class) public class TreeRendererConnector extends AbstractRendererConnector<String> { diff --git a/client/src/main/java/com/vaadin/client/ui/composite/CompositeConnector.java b/client/src/main/java/com/vaadin/client/ui/composite/CompositeConnector.java index ad5e019b6b..93e42fab1f 100644 --- a/client/src/main/java/com/vaadin/client/ui/composite/CompositeConnector.java +++ b/client/src/main/java/com/vaadin/client/ui/composite/CompositeConnector.java @@ -26,6 +26,12 @@ import com.vaadin.shared.ui.Connect; import com.vaadin.shared.ui.Connect.LoadStyle; import com.vaadin.ui.Composite; +/** + * Connector for the Composite component. + * + * @author Vaadin Ltd + * @since 8.1 + */ @Connect(value = Composite.class, loadStyle = LoadStyle.EAGER) public class CompositeConnector extends AbstractHasComponentsConnector { |