Class DrawerToggle
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.button.GeneratedVaadinButton<Button>
-
- com.vaadin.flow.component.button.Button
-
- com.vaadin.flow.component.applayout.DrawerToggle
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<Button>,com.vaadin.flow.component.ClickNotifier<Button>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<Button>,com.vaadin.flow.component.FocusNotifier<Button>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasText,com.vaadin.flow.component.HasTheme,Serializable
@Tag("vaadin-drawer-toggle") @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="23.1.15") @NpmPackage(value="@vaadin/app-layout",version="23.1.15") @NpmPackage(value="@vaadin/vaadin-app-layout",version="23.1.15") @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/app-layout/src/vaadin-drawer-toggle.js") public class DrawerToggle extends ButtonServer-side component for the<vaadin-drawer-toggle>element. It is a button that allows the user to open and close the drawer. To use it, add it to theAppLayout, typically in the navbar slot.AppLayout layout = new AppLayout(); layout.addToNavbar(new DrawerToggle());- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
-
-
Constructor Summary
Constructors Constructor Description DrawerToggle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetIcon(com.vaadin.flow.component.Component icon)-
Methods inherited from class com.vaadin.flow.component.button.Button
click, clickInClient, getIcon, isAutofocus, isDisableOnClick, isIconAfterText, onAttach, setAutofocus, setDisableOnClick, setIconAfterText, setText
-
Methods inherited from class com.vaadin.flow.component.button.GeneratedVaadinButton
addThemeVariants, addToPrefix, addToSuffix, isAutofocusBoolean, isDisabledBoolean, remove, removeAll, removeThemeVariants, setDisabled
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
-