Example usage for Java com.vaadin.ui.declarative Design fields, constructors, methods, implement or subclass
The text is from its open source code.
DesignContext | read(Component rootComponent) Loads a design for the given root component. |
Component | read(InputStream design) Loads a design from the given input stream. |
DesignContext | read(String filename, Component rootComponent) Loads a design from the given file name using the given root component. |
DesignContext | read(InputStream stream, Component rootComponent) Loads a design from the given stream using the given root component. |
void | setComponentFactory(ComponentFactory componentFactory) Sets the component factory that is used for creating component instances based on fully qualified class names derived from a design file. |
void | write(Component component, OutputStream outputStream) Writes the given component tree in design format to the given output stream. |
void | write(DesignContext designContext, OutputStream outputStream) Writes the component, given in the design context, in design format to the given output stream. |
void | write(Document doc, OutputStream outputStream) Writes the given jsoup document to the output stream (in UTF-8) |