diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-12-17 14:01:33 +0200 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-12-17 14:01:33 +0200 |
commit | febddda0578c8185e0c4c0f613f250490e0503a2 (patch) | |
tree | 333aefdf833d365f35df1cd7300c3739b86f81a5 /documentation/clientsidewidgets | |
parent | ccb1c45a6a85e1fe6d0497d8b9bafc130a01ca92 (diff) | |
download | vaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.tar.gz vaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.zip |
Add missing [source, java] to the java code blocks in documentation (#11381)
* Update clientsideapp-entrypoint.asciidoc
Adding missing ```[source, java]```
Diffstat (limited to 'documentation/clientsidewidgets')
-rw-r--r-- | documentation/clientsidewidgets/clientsidewidgets-grid.asciidoc | 6 | ||||
-rw-r--r-- | documentation/clientsidewidgets/clientsidewidgets-vaadin.asciidoc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/clientsidewidgets/clientsidewidgets-grid.asciidoc b/documentation/clientsidewidgets/clientsidewidgets-grid.asciidoc index 40e1e2ff19..738eb62080 100644 --- a/documentation/clientsidewidgets/clientsidewidgets-grid.asciidoc +++ b/documentation/clientsidewidgets/clientsidewidgets-grid.asciidoc @@ -29,7 +29,7 @@ modify the element as needed. For example, [classname]#TextRenderer# is implemented simply as follows: - +[source, java] ---- public class TextRenderer implements Renderer<String> { @Override @@ -44,7 +44,7 @@ The server-side renderer API should extend [classname]#AbstractRenderer# or [classname]#ClickableRenderer# with the data type accepted by the renderer. The data type also must be given for the superclass constructor. - +[source, java] ---- public class TextRenderer extends AbstractRenderer<String> { public TextRenderer() { @@ -56,7 +56,7 @@ public class TextRenderer extends AbstractRenderer<String> { The client-side and server-side renderer need to be connected with a connector extending from [classname]#AbstractRendererConnector#. - +[source, java] ---- @Connect(com.vaadin.ui.renderer.TextRenderer.class) public class TextRendererConnector diff --git a/documentation/clientsidewidgets/clientsidewidgets-vaadin.asciidoc b/documentation/clientsidewidgets/clientsidewidgets-vaadin.asciidoc index 21dc4d9e27..36dfaa5dea 100644 --- a/documentation/clientsidewidgets/clientsidewidgets-vaadin.asciidoc +++ b/documentation/clientsidewidgets/clientsidewidgets-vaadin.asciidoc @@ -13,7 +13,7 @@ widgets have somewhat different feature set from the GWT widgets and are foremost intended for integration with the server-side components, but some may prove useful for client-side applications as well. - +[source, java] ---- public class MyEntryPoint implements EntryPoint { @Override |