Class VAppLayout
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.applayout.AppLayout
org.vaadin.firitin.appframework.VAppLayout
- All Implemented Interfaces:
 com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.RouterLayout, Serializable
- Direct Known Subclasses:
 MainLayout
public abstract class VAppLayout
extends com.vaadin.flow.component.applayout.AppLayout
Opinionated helpers and defaults for Vaadin 
AppLayout. Provides subviews and
a slot for view specific components in navbar (will be automatically cleaned up on navigation).- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.applayout.AppLayout
com.vaadin.flow.component.applayout.AppLayout.AppLayoutI18n, com.vaadin.flow.component.applayout.AppLayout.Section - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayout - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddNavbarHelper(com.vaadin.flow.component.Component component) Places a component by the view to the navbar.protected voidvoidvoidcloseSubView(com.vaadin.flow.component.Component component) com.vaadin.flow.component.html.Footerprotected abstract ObjectgetMenu()com.vaadin.flow.component.orderedlayout.Scrollerprotected com.vaadin.flow.component.HasComponentscom.vaadin.flow.component.HasTextvoidopenSubView(com.vaadin.flow.component.Component component) voidopenSubView(com.vaadin.flow.component.Component component, String viewTitle) protected com.vaadin.flow.component.html.FooterDeprecated.protected AdvancedSideNavDeprecated, for removal: This API element is subject to removal in a future version.voidsetContent(com.vaadin.flow.component.Component content) voidsetViewTitle(String title) Manually override the current view title.protected voidMethods inherited from class com.vaadin.flow.component.applayout.AppLayout
addToDrawer, addToNavbar, addToNavbar, getContent, getI18n, getPrimarySection, isDrawerOpened, isOverlay, onAttach, remove, setDrawerOpened, setI18n, setPrimarySection, showRouterLayoutContentMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.router.RouterLayout
removeRouterLayoutContent 
- 
Field Details
 - 
Constructor Details
- 
VAppLayout
public VAppLayout() 
 - 
 - 
Method Details
- 
getDrawerHeader
- Returns:
 - a 
Componentto show as "drawer header" or a simple string. 
 - 
addDrawerContent
protected void addDrawerContent() - 
getMenu
 - 
getMenuScroller
public com.vaadin.flow.component.orderedlayout.Scroller getMenuScroller() - 
setViewTitle
Manually override the current view title.- Parameters:
 title- the title to set
 - 
getViewTitle
public com.vaadin.flow.component.HasText getViewTitle() - 
updateViewTitle
protected void updateViewTitle() - 
setContent
public void setContent(com.vaadin.flow.component.Component content) - Overrides:
 setContentin classcom.vaadin.flow.component.applayout.AppLayout
 - 
openSubView
 - 
openSubView
public void openSubView(com.vaadin.flow.component.Component component)  - 
closeSubView
public void closeSubView(com.vaadin.flow.component.Component component)  - 
closeSubView
public void closeSubView() 
 -