Skip navigation links
A C D G I L O P S T V 

A

add(Component...) - Method in class com.vaadin.flow.demo.Card
 
add(Element) - Method in class com.vaadin.flow.demo.SourceContent
Adds an Element directly into this component, without need to use a component for it.
addCard(String, Component...) - Method in class com.vaadin.flow.demo.DemoView
Creates and adds a new component card to the "Basic usage" tab in the view.
addCard(String, String, Component...) - Method in class com.vaadin.flow.demo.DemoView
Creates and adds a new component card to a specific tab in the view.
addCode(String) - Method in class com.vaadin.flow.demo.SourceContent
Adds a text to be rendered as a Java source code inside the component.
addCss(String) - Method in class com.vaadin.flow.demo.SourceContent
Adds a text to be rendered as a CSS source code inside the component.
addLink(String, String) - Method in class com.vaadin.flow.demo.DemoNavigationBar
Adds a menu item inside the navigation bar.

C

Card - Class in com.vaadin.flow.demo
Card to hold components for DemoViews
Card() - Constructor for class com.vaadin.flow.demo.Card
Card constructor that set wanted styles.
com.vaadin.flow.demo - package com.vaadin.flow.demo
 
ComponentDemoServer - Class in com.vaadin.flow.demo
Server class for running component demos and executing integration tests.
ComponentDemoServer() - Constructor for class com.vaadin.flow.demo.ComponentDemoServer
 
ComponentDemoTest - Class in com.vaadin.flow.demo
Base class for the integration tests of component demos.
ComponentDemoTest() - Constructor for class com.vaadin.flow.demo.ComponentDemoTest
 
configure(WebAppContext, Server) - Method in class com.vaadin.flow.demo.ComponentDemoServer
Hook for additional configuration to perform before starting the server.

D

DemoNavigationBar - Class in com.vaadin.flow.demo
Component to render anchors for specific parts of a component demo.
DemoNavigationBar() - Constructor for class com.vaadin.flow.demo.DemoNavigationBar
Default constructor.
DemoView - Class in com.vaadin.flow.demo
Base class for all the Views that demo some component.
DemoView() - Constructor for class com.vaadin.flow.demo.DemoView
 

G

getDeploymentPort() - Method in class com.vaadin.flow.demo.ComponentDemoTest
 
getHeading() - Method in class com.vaadin.flow.demo.SourceCodeExample
 
getPort() - Method in class com.vaadin.flow.demo.ComponentDemoServer
Gets the port number to which this server will be connected.
getSourceCode() - Method in class com.vaadin.flow.demo.SourceCodeExample
 
getSourceCodeExamplesForClass(Class<? extends DemoView>) - Static method in class com.vaadin.flow.demo.SourceContentResolver
Get all SourceCodeExamples from a given class.
getSourceType() - Method in class com.vaadin.flow.demo.SourceCodeExample
 

I

initView() - Method in class com.vaadin.flow.demo.DemoView
Builds the content of the view.

L

layout - Variable in class com.vaadin.flow.demo.ComponentDemoTest
 

O

onAttach(AttachEvent) - Method in class com.vaadin.flow.demo.DemoView
 
openDemoPageAndCheckForErrors() - Method in class com.vaadin.flow.demo.ComponentDemoTest
Runs before each test.
openDemoPageAndCheckForErrors() - Method in class com.vaadin.flow.demo.TabbedComponentDemoTest
 
openTabAndCheckForErrors(String) - Method in class com.vaadin.flow.demo.TabbedComponentDemoTest
Navigates from one tab to another and checks whether the navigation causes errors in the browser.

P

populateSources() - Method in class com.vaadin.flow.demo.DemoView
When called the view should populate the given SourceContainer with sample source code to be shown.

S

setActive(String) - Method in class com.vaadin.flow.demo.DemoNavigationBar
Sets an specific anchor as active.
setHeading(String) - Method in class com.vaadin.flow.demo.SourceCodeExample
 
setParameter(BeforeEvent, String) - Method in class com.vaadin.flow.demo.DemoView
 
setSourceCode(String) - Method in class com.vaadin.flow.demo.SourceCodeExample
 
setSourceType(SourceCodeExample.SourceType) - Method in class com.vaadin.flow.demo.SourceCodeExample
 
SourceCodeExample - Class in com.vaadin.flow.demo
Object that defines a source code example to be shown together with a demo.
SourceCodeExample() - Constructor for class com.vaadin.flow.demo.SourceCodeExample
Constructs a new source code example.
SourceCodeExample.SourceType - Enum in com.vaadin.flow.demo
Defines which language the source code is in.
SourceContent - Class in com.vaadin.flow.demo
This builds up source samples and sets it up so that it can be annotated by prism
SourceContent() - Constructor for class com.vaadin.flow.demo.SourceContent
Default constructor for the component.
SourceContentResolver - Class in com.vaadin.flow.demo
Utility class for obtaining SourceCodeExamples for classes.
startServer() - Method in class com.vaadin.flow.demo.ComponentDemoServer
Starts a web server to the port defined by ComponentDemoServer.getPort().

T

TabbedComponentDemoTest - Class in com.vaadin.flow.demo
Base class for the component integration tests for views that use tabs.
TabbedComponentDemoTest() - Constructor for class com.vaadin.flow.demo.TabbedComponentDemoTest
 

V

valueOf(String) - Static method in enum com.vaadin.flow.demo.SourceCodeExample.SourceType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vaadin.flow.demo.SourceCodeExample.SourceType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D G I L O P S T V 
Skip navigation links

Copyright © 2000–2021 Vaadin Ltd. All rights reserved.