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

A

add(Component...) - Method in class com.vaadin.flow.demo.Card
 
add(Component...) - Method in class com.vaadin.flow.demo.DemoView
No-op method so that we can use the line add(Component) in vaadin.com demos.
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.
addHtml(String) - Method in class com.vaadin.flow.demo.SourceContent
Adds a text to be rendered as a HTML source code inside the component.
addLink(String, String) - Method in class com.vaadin.flow.demo.DemoNavigationBar
Adds a menu item inside the navigation bar.
addVariantsDemo(Supplier<C>, BiConsumer<C, T>, BiConsumer<C, T>, Function<T, String>, T...) - Method in class com.vaadin.flow.demo.DemoView
Adds a demo that shows how the component looks like with specific variants applied.
apply(WebElement) - Method in class com.vaadin.flow.demo.ComponentDemoTest.DefaultProducer
 

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
 
ComponentDemoTest.DefaultProducer - Class in com.vaadin.flow.demo
Default variant producer
configure(WebAppContext, Server) - Method in class com.vaadin.flow.demo.ComponentDemoServer
Hook for additional configuration to perform before starting the server.

D

DefaultProducer() - Constructor for class com.vaadin.flow.demo.ComponentDemoTest.DefaultProducer
 
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

get(UI) - Static method in class com.vaadin.flow.demo.WhenDefinedManager
Gets or creates the manager instance for the given UI.
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.
verifyThemeVariantsBeingToggled() - Method in class com.vaadin.flow.demo.ComponentDemoTest
Verifies variants functionality for the current layout with using the ComponentDemoTest.DefaultProducer.
verifyThemeVariantsBeingToggled(Function<WebElement, String>) - Method in class com.vaadin.flow.demo.ComponentDemoTest
Verifies variants functionality for the current layout with customized variant producer implementation.

W

whenDefined(Component[], Command) - Method in class com.vaadin.flow.demo.WhenDefinedManager
Runs the provided command once the custom element has been defined for all Vaadin elements from the give component trees have.
WhenDefinedManager - Class in com.vaadin.flow.demo
Helper that invokes a callback once all Vaadin custom elements from a component tree are defined.
A C D G I L O P S T V W 
Skip navigation links

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