Java com.vaadin.ui.declarative Design fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui.declarative Design fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui.declarative Design.

The text is from its open source code.

Method

DesignContextread(Component rootComponent)
Loads a design for the given root component.
Componentread(InputStream design)
Loads a design from the given input stream.
DesignContextread(String filename, Component rootComponent)
Loads a design from the given file name using the given root component.
DesignContextread(InputStream stream, Component rootComponent)
Loads a design from the given stream using the given root component.
voidsetComponentFactory(ComponentFactory componentFactory)
Sets the component factory that is used for creating component instances based on fully qualified class names derived from a design file.
voidwrite(Component component, OutputStream outputStream)
Writes the given component tree in design format to the given output stream.
voidwrite(DesignContext designContext, OutputStream outputStream)
Writes the component, given in the design context, in design format to the given output stream.
voidwrite(Document doc, OutputStream outputStream)
Writes the given jsoup document to the output stream (in UTF-8)