Uses of Class
org.knime.core.webui.page.PageBuilder
Packages that use PageBuilder
-
Uses of PageBuilder in org.knime.core.webui.page
Subclasses of PageBuilder in org.knime.core.webui.pageModifier and TypeClassDescriptionfinal classAdds additional methods to thePageBuilderwhich allows one to define the page content and associated resources by referencing files.Methods in org.knime.core.webui.page that return PageBuilderModifier and TypeMethodDescriptionPageBuilder.addResource(Supplier<InputStream> content, String relativePath) Adds another resource to the 'context' of a page (such js-resource).PageBuilder.addResourceFromString(Supplier<String> content, String relativePath) Adds another resource to the 'context' of a page (such js-resource).PageBuilder.addResources(Function<String, InputStream> supplier, String relativePathPrefix, boolean areStatic) Allows one to add multiple resources at once with a single function which dynamically maps paths to resources.static PageBuilderPage.builder(Page.InputStreamSupplier content, String relativePath) Creates aPageBuilder-instance to create a (dynamic) page (and associated resources) from anInputStream.static PageBuilderPage.builder(Page.StringSupplier content, String relativePath) Creates aPageBuilder-instance to create a (dynamic) page (and associated resources) from anInputStream.