Basil3
(Basil Bourque)
1
On the “Browser Components” site:
https://vaadin.com/components
…each component has a tab for examples with code of how to use that widget.
For example, the Upload
component has a page of examples:
https://vaadin.com/components/vaadin-upload/java-examples
Those example have code calling other methods such as createComponent
and showOutput
.
➥ Where is the source code to those methods?
I cannot learn the details without seeing that further code.
Basil3
(Basil Bourque)
2
Bernd71
(Bernd KLB)
3
You can check out the github repository. For the Upload Components it would be:
https://github.com/vaadin/vaadin-upload-flow/blob/master/vaadin-upload-flow-demo/src/main/java/com/vaadin/flow/component/upload/demo/UploadView.java
If you visit https://github.com/vaadin you can choose for example the Vaadin-Upload-Flow repository (https://github.com/vaadin/vaadin-upload-flow) and then you have to navigate to vaadin-upload-flow-demo/…
And this is the same for all components. Vaadin TextField would be:
https://github.com/vaadin/vaadin-text-field-flow => vaadin-text-field-flow-demo => … => TextFieldView.java