@StyleSheet(value="context://frontend/styles/commons-demo/shared-styles.css")
public class TabbedDemo
extends com.vaadin.flow.component.orderedlayout.VerticalLayout
implements com.vaadin.flow.router.RouterLayout
| Constructor and Description |
|---|
TabbedDemo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDemo(Class<? extends com.vaadin.flow.component.Component> clazz)
Add a tab with a
demo component. |
void |
addDemo(Class<? extends com.vaadin.flow.component.Component> clazz,
String label)
Add a tab with a demo component.
|
void |
addDemo(com.vaadin.flow.component.Component demo)
Deprecated.
|
void |
addDemo(com.vaadin.flow.component.Component demo,
String label)
Deprecated.
|
void |
addDemo(com.vaadin.flow.component.Component demo,
String label,
String sourceCodeUrl)
Deprecated.
|
void |
removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) |
void |
showRouterLayoutContent(com.vaadin.flow.component.HasElement content) |
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacingaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoxSizing, getThemeList, isMargin, isPadding, isSpacing, setBoxSizing, setMarginexpand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentModegetChildren, getComponentAt, getComponentCount, indexOfadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAlladdClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNamegetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull@Deprecated public void addDemo(com.vaadin.flow.component.Component demo)
demo component. The tab label and source code URL are retrieved from
the PageTitle (required) and DemoSource (optional) annotations in the demo
class, respectively.demo - the demo instance@Deprecated public void addDemo(com.vaadin.flow.component.Component demo, String label, String sourceCodeUrl)
demo - the demo instancelabel - the demo name (tab label)sourceCodeUrl - ignored.public void addDemo(Class<? extends com.vaadin.flow.component.Component> clazz, String label)
clazz - the class of routed demo view componentlabel - the demo name (tab label)public void addDemo(Class<? extends com.vaadin.flow.component.Component> clazz)
demo component. The tab label is retrieved from
the PageTitle annotations in the demo class.clazz - the class of routed demo view component@Deprecated public void addDemo(com.vaadin.flow.component.Component demo, String label)
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content)
showRouterLayoutContent in interface com.vaadin.flow.router.RouterLayoutpublic void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent)
removeRouterLayoutContent in interface com.vaadin.flow.router.RouterLayoutCopyright © 2020–2022 Flowing Code. All rights reserved.