See also :
public void AppLayout()
public void AppLayout(String title)
title
The title to be displayed in the navigation bar.
A new AppLayout instance.
public static AppLayout create()
A new AppLayout instance.
public static AppLayout create(String title)
title
The title to be displayed in the navigation bar.
A new AppLayout instance.
public DivElement getLayout()
The layout element as a DivElement .
public SectionElement getBody()
The body section element as a SectionElement .
public SectionElement getContent()
The content section element as a SectionElement .
public NavBar getNavBar()
The navigation bar as a NavBar instance.
public HeaderElement getHeader()
The header element as a HeaderElement .
public SectionElement getFooter()
The footer section element as a SectionElement .
public SectionElement getLeftDrawer()
The left drawer section element as a SectionElement .
public AsideElement getLeftDrawerContent()
The left drawer content as an AsideElement .
public SectionElement getRightDrawer()
The right drawer section element as a SectionElement .
public SectionElement getRightDrawerContent()
The right drawer content as a SectionElement .
public AppLayout withLayout(ChildHandler<AppLayout, DivElement> handler)
handler
The handler for configuring the layout.
This AppLayout instance for method chaining.
public AppLayout withBody(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the body section.
This AppLayout instance for method chaining.
public AppLayout withContent(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the content section.
This AppLayout instance for method chaining.
public AppLayout withNavBar(ChildHandler<AppLayout, NavBar> handler)
handler
The handler for configuring the navigation bar.
This AppLayout instance for method chaining.
public AppLayout withHeader(ChildHandler<AppLayout, HeaderElement> handler)
handler
The handler for configuring the header element.
This AppLayout instance for method chaining.
public AppLayout withFooter(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the footer section.
This AppLayout instance for method chaining.
public AppLayout withLeftDrawer(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the left drawer section.
This AppLayout instance for method chaining.
public AppLayout withRightDrawer(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the right drawer section.
This AppLayout instance for method chaining.
public AppLayout withLeftDrawerContent(ChildHandler<AppLayout, AsideElement> handler)
handler
The handler for configuring the left drawer content.
This AppLayout instance for method chaining.
public AppLayout withRightDrawerContent(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler for configuring the right drawer content.
This AppLayout instance for method chaining.
public AppLayout withNavBar()
This AppLayout instance for method chaining.
public AppLayout withHeader()
This AppLayout instance for method chaining.
public AppLayout withFooter()
This AppLayout instance for method chaining.
public AppLayout withLeftDrawer()
This AppLayout instance for method chaining.
public AppLayout withRightDrawer()
This AppLayout instance for method chaining.
public AppLayout withLeftDrawerContent()
This AppLayout instance for method chaining.
public AppLayout withRightDrawerContent()
This AppLayout instance for method chaining.
public AppLayout setLeftDrawerSize(LeftDrawerSize size)
size
The size of the left drawer.
This AppLayout instance for method chaining.
public AppLayout setRightDrawerSize(RightDrawerSize size)
size
The size of the right drawer.
This AppLayout instance for method chaining.
public AppLayout toggleLeftDrawerSpanUp()
This AppLayout instance for method chaining.
public AppLayout setLeftDrawerSpanUp(boolean spanUp)
spanUp
true to enable the span-up effect, false to disable it.
This AppLayout instance for method chaining.
public AppLayout toggleLeftDrawerSpanDown()
This AppLayout instance for method chaining.
public AppLayout setLeftDrawerSpanDown(boolean spanDown)
spanDown
true to enable the span-down effect, false to disable it.
This AppLayout instance for method chaining.
public AppLayout toggleShrinkContent()
This AppLayout instance for method chaining.
public AppLayout setShrinkContent(boolean shrink)
shrink
true to enable content shrinking, false to disable it.
This AppLayout instance for method chaining.
public AppLayout toggleLeftOverlay()
This AppLayout instance for method chaining.
public AppLayout toggleRightOverlay()
This AppLayout instance for method chaining.
public AppLayout toggleLeftDrawer()
This AppLayout instance for method chaining.
public AppLayout toggleRightDrawer()
This AppLayout instance for method chaining.
public AppLayout toggleFixedFooter()
This AppLayout instance for method chaining.
public AppLayout setFixedFooter(boolean fixed)
fixed
true to fix the footer, false to unfix it.
This AppLayout instance for method chaining.
public AppLayout showLeftDrawer()
This AppLayout instance for method chaining.
public AppLayout hideLeftDrawer()
This AppLayout instance for method chaining.
public AppLayout showRightDrawer()
This AppLayout instance for method chaining.
public AppLayout hideRightDrawer()
This AppLayout instance for method chaining.
public AppLayout setLeftDrawerToggleIcon(Icon<?> icon)
icon
The icon to set.
This AppLayout instance for method chaining.
public AppLayout setRightDrawerToggleIcon(Icon<?> icon)
icon
The icon to set.
This AppLayout instance for method chaining.
public AppLayout setAutoCloseLeftDrawer(boolean autoCloseLeftDrawer)
autoCloseLeftDrawer
true to enable auto-closing, false to disable it.
This AppLayout instance for method chaining.
public AppLayout setFixLeftDrawer(boolean fixed)
fixed
true to fix the left drawer, false to unfix it.
This AppLayout instance for method chaining.
public AppLayout setAutoCloseRightDrawer(boolean autoCloseRightDrawer)
autoCloseRightDrawer
true to enable auto-closing, false to disable it.
This AppLayout instance for method chaining.
public AppLayout withLeftDrawerToggle(ChildHandler<AppLayout, PrefixAddOn<HTMLElement>> handler)
handler
The handler for configuring the left drawer toggle button.
This AppLayout instance for method chaining.
public AppLayout setLeftDrawerToggleVisible(boolean visible)
visible
true to make the toggle button visible, false to hide it.
This AppLayout instance for method chaining.
public boolean isLeftDrawerOpen()
true if the left drawer is open, false otherwise.
public boolean isRightDrawerOpen()
true if the right drawer is open, false otherwise.
public AppLayout onLeftDrawerOpen(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be called when the left drawer is opened.
This AppLayout instance for method chaining.
public AppLayout removeLeftDrawerOpenListener(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be removed from the list of listeners.
This AppLayout instance for method chaining.
public AppLayout onLeftDrawerClosed(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be called when the left drawer is closed.
This AppLayout instance for method chaining.
public AppLayout removeLeftDrawerCloseListener(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be removed from the list of listeners.
This AppLayout instance for method chaining.
public AppLayout onRightDrawerOpen(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be called when the right drawer is opened.
This AppLayout instance for method chaining.
public AppLayout removeRightDrawerOpenListener(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be removed from the list of listeners.
This AppLayout instance for method chaining.
public AppLayout onRightDrawerClosed(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be called when the right drawer is closed.
This AppLayout instance for method chaining.
public AppLayout removeRightDrawerCloseListener(ChildHandler<AppLayout, SectionElement> handler)
handler
The handler to be removed from the list of listeners.
This AppLayout instance for method chaining.