@Tag(value="div")
@StyleSheet(value="./styles/vertical-menu-styles.css")
@JavaScript(value="./scripts/vertical-menu-styles.js")
public class VerticalMenu
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasSize
| Modifier and Type | Class and Description |
|---|---|
static class |
VerticalMenu.MenuSelectedEvent |
| Constructor and Description |
|---|
VerticalMenu(com.vaadin.flow.component.html.Section... sections) |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
addMenuSelectedListener(com.vaadin.flow.component.ComponentEventListener<VerticalMenu.MenuSelectedEvent> listener) |
List<com.vaadin.flow.component.html.Section> |
getSections() |
protected void |
onAttach(com.vaadin.flow.component.AttachEvent attachEvent) |
void |
reloadSections() |
void |
setSections(List<com.vaadin.flow.component.html.Section> sections) |
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic VerticalMenu(com.vaadin.flow.component.html.Section... sections)
public void reloadSections()
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
onAttach in class com.vaadin.flow.component.Componentpublic com.vaadin.flow.shared.Registration addMenuSelectedListener(com.vaadin.flow.component.ComponentEventListener<VerticalMenu.MenuSelectedEvent> listener)
public List<com.vaadin.flow.component.html.Section> getSections()
public void setSections(List<com.vaadin.flow.component.html.Section> sections)
Copyright © 2019 Flowing Code. All rights reserved.