Package com.oorian.html.layout
Class AppShellLayout
java.lang.Object
- All Implemented Interfaces:
ClientEventListener,MouseClickListener,EventListener
A standard application shell layout with header, sidebar, content, and footer regions.
AppShellLayout is the backbone of dashboards, admin panels, and internal tools. It provides a consistent structure with optional regions that can be configured to match various application needs.
Structure:
┌──────────────────────────────────────┐ │ Header │ ├─────────┬────────────────────────────┤ │ │ │ │ Sidebar │ Content │ │ │ │ │ │ │ ├─────────┴────────────────────────────┤ │ Footer │ └──────────────────────────────────────┘
Features:
- Optional header, sidebar, and footer
- Left or right sidebar positioning
- Collapsible sidebar support
- Sticky header option
- Full viewport or parent-relative sizing
Usage:
// Section-based layout (recommended) - nav items auto-generated
AppShellLayout shell = new AppShellLayout();
shell.header(navbar)
.addSection("Dashboard", dashboardContent)
.addSection("Reports", reportsContent)
.addSection("Settings", settingsContent);
// Programmatic navigation
shell.showSection(1); // Show "Reports"
shell.showSection("settings"); // Show by ID
// Manual mode (for custom sidebar)
AppShellLayout shell = new AppShellLayout();
shell.header(navbar)
.sidebar(customNavigation)
.content(mainContent)
.footer(footerBar);
// Full viewport with sticky header
AppShellLayout app = new AppShellLayout();
app.fillViewport()
.stickyHeader()
.header(header)
.addSection("Home", homeContent)
.addSection("Profile", profileContent);
// Right sidebar variant
AppShellLayout rightSidebar = AppShellLayout.withRightSidebar();
rightSidebar.header(header)
.sidebar(propertiesPanel)
.content(editor);
// Customize sidebar width
shell.setSidebarWidth(280);
shell.setSidebarWidth("20%");
- Since:
- 2025
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AppShellLayout with default left sidebar.AppShellLayout(AppShellLayout.SidebarPosition position) Constructs an AppShellLayout with the specified sidebar position. -
Method Summary
Modifier and TypeMethodDescriptionaddSection(String label, Element<?> content) Adds a section with the specified label and content.addSection(String label, String id, Element<?> content) Adds a section with the specified label, ID, and content.Collapses the sidebar to hide it.Sets the main content area.Expands the sidebar to show it.Sets the footer content.intReturns the currently active section index.Returns the content deck for advanced customization.Returns the content pane for advanced customization.Returns the footer pane for advanced customization.Returns the header pane for advanced customization.Returns the nav items container for customization.intReturns the number of sections.Returns the sidebar pane for advanced customization.Sets the header content.protected voidBuilds the element tree for the layout.booleanChecks if the sidebar is currently collapsed.voidonEvent(MouseClickedEvent event) Handles click events on nav items.setContentBackground(String color) Sets the content area background color.setContentGap(int gap) Sets the gap between sidebar and content.setContentGap(String gap) Sets the gap between sidebar and content.setContentPadding(int padding) Sets padding for the content area.setContentPadding(String padding) Sets padding for the content area.setFooterBackground(String color) Sets the footer background color.setHeaderBackground(String color) Sets the header background color.setNavItemGap(int gap) Sets the gap between nav items.setNavItemGap(String gap) Sets the gap between nav items.setSidebarBackground(String color) Sets the sidebar background color.setSidebarPadding(int padding) Sets padding for the sidebar.setSidebarPadding(String padding) Sets padding for the sidebar.setSidebarWidth(int width) Sets the sidebar width.setSidebarWidth(String width) Sets the sidebar width.showSection(int index) Shows the section at the specified index.showSection(String id) Shows the section with the specified ID.Sets the sidebar content.Makes the header sticky (fixed at top during scroll).Toggles the sidebar collapsed/expanded state.static AppShellLayoutCreates a new AppShellLayout with right sidebar.Methods inherited from class com.oorian.html.layout.PageLayout
createPane, createPane, fillParent, fillViewport, setBackgroundColor, setMinHeightMethods inherited from class com.oorian.html.StyledElement
addClass, addStyle, addStyle, addStyleAttribute, addTransition, animate, clearTransitions, getActiveStyle, getCssClass, getDisabledStyle, getFocusStyle, getFocusVisibleStyle, getHoverStyle, getHtml, getStyle, getStyleAttribute, hidden, hide, isDisplayed, isTransitionForwardActive, onHide, onRemovedFromPage, onShow, removeClass, setActiveStyle, setAlignContent, setAlignContent, setAlignItems, setAlignItems, setAlignSelf, setAlignSelf, setAnimation, setAnimationDelay, setAnimationDelay, setAnimationDelay, setAnimationDirection, setAnimationDirection, setAnimationDuration, setAnimationDuration, setAnimationDuration, setAnimationFillMode, setAnimationFillMode, setAnimationIterationCount, setAnimationIterationCount, setAnimationIterationCount, setAnimationName, setAnimationPlayState, setAnimationPlayState, setAnimationTimingFunction, setAnimationTimingFunction, setAnimationTimingFunction, setAnimationTimingFunction, setBackdropFilter, setBackdropFilter, setBackfaceVisibility, setBackfaceVisibility, setBackground, setBackground, setBackgroundAttachment, setBackgroundAttachment, setBackgroundBlendMode, setBackgroundBlendMode, setBackgroundClip, setBackgroundClip, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBackgroundOrigin, setBackgroundOrigin, setBackgroundPosition, setBackgroundPosition, setBackgroundPosition, setBackgroundPosition, setBackgroundPosition, setBackgroundRepeat, setBackgroundRepeat, setBackgroundSize, setBackgroundSize, setBackgroundSize, setBackgroundSize, setBackgroundSize, setBlur, setBorder, setBorder, setBorder, setBorder, setBorder, setBorder, setBorder, setBorder, setBorder, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottom, setBorderBottomColor, setBorderBottomColor, setBorderBottomLeftRadius, setBorderBottomLeftRadius, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderBottomRightRadius, setBorderBottomRightRadius, setBorderBottomStyle, setBorderBottomStyle, setBorderBottomWidth, setBorderBottomWidth, setBorderBottomWidth, setBorderBottomWidth, setBorderColor, setBorderColor, setBorderColor, setBorderColor, setBorderImage, setBorderImage, setBorderImageOutset, setBorderImageRepeat, setBorderImageSlice, setBorderImageSource, setBorderImageWidth, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeft, setBorderLeftColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftStyle, setBorderLeftWidth, setBorderLeftWidth, setBorderLeftWidth, setBorderLeftWidth, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRight, setBorderRight, setBorderRight, setBorderRight, setBorderRight, setBorderRight, setBorderRight, setBorderRight, setBorderRightColor, setBorderRightColor, setBorderRightStyle, setBorderRightStyle, setBorderRightWidth, setBorderRightWidth, setBorderRightWidth, setBorderRightWidth, setBorderStyle, setBorderStyle, setBorderTop, setBorderTop, setBorderTop, setBorderTop, setBorderTop, setBorderTop, setBorderTop, setBorderTop, setBorderTopColor, setBorderTopColor, setBorderTopLeftRadius, setBorderTopLeftRadius, setBorderTopLeftRadius, setBorderTopRightRadius, setBorderTopRightRadius, setBorderTopRightRadius, setBorderTopStyle, setBorderTopStyle, setBorderTopWidth, setBorderTopWidth, setBorderTopWidth, setBorderTopWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBottom, setBottom, setBottom, setBoxShadow, setBoxShadow, setBoxShadow, setBoxShadow, setBoxShadow, setBoxSizing, setBoxSizing, setBreakAfter, setBreakBefore, setBreakInside, setBrightness, setClass, setClear, setClear, setClip, setClipPath, setClipPath, setColGap, setColGap, setColor, setColor, setColumnCount, setColumnCount, setColumnFill, setColumnFill, setColumnGap, setColumnRule, setColumnRuleColor, setColumnRuleColor, setColumnRuleStyle, setColumnRuleStyle, setColumnRuleWidth, setColumnRuleWidth, setColumns, setColumns, setColumns, setColumnSpan, setColumnWidth, setColumnWidth, setColumnWidth, setContrast, setCounterIncrement, setCounterReset, setCursor, setCursor, setDirection, setDirection, setDisabledStyle, setDisplay, setDisplay, setFilter, setFilter, setFilterOpacity, setFlex, setFlexBasis, setFlexDirection, setFlexDirection, setFlexFlow, setFlexGrow, setFlexGrow, setFlexShrink, setFlexShrink, setFlexWrap, setFlexWrap, setFloat, setFloat, setFocusStyle, setFocusVisibleStyle, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFont, setFontFace, setFontFamily, setFontFamily, setFontFeatureSettings, setFontKerning, setFontLanguageOverride, setFontSize, setFontSize, setFontSize, setFontSizeAdjust, setFontStretch, setFontStretch, setFontStyle, setFontStyle, setFontSynthesis, setFontVariant, setFontVariant, setFontVariantAlternates, setFontVariantCaps, setFontVariantEastAsian, setFontVariantLigatures, setFontVariantNumeric, setFontVariantPosition, setFontWeight, setFontWeight, setGap, setGap, setGap, setGap, setGrayscale, setHangingPunctuation, setHangingPunctuation, setHeight, setHeight, setHeight, setHoverStyle, setHueRotate, setHyphens, setImageOrientation, setImageRendering, setImageResolution, setImeMode, setInvert, setJustifyContent, setJustifyContent, setKeyFrames, setLeft, setLeft, setLeft, setLetterSpacing, setLetterSpacing, setLetterSpacing, setLetterSpacing, setLineBreak, setLineHeight, setLineHeight, setLineHeight, setLineHeight, setMargin, setMargin, setMargin, setMargin, setMargin, setMarginBottom, setMarginBottom, setMarginBottom, setMarginLeft, setMarginLeft, setMarginLeft, setMarginRight, setMarginRight, setMarginRight, setMarginTop, setMarginTop, setMarginTop, setMark, setMarkAfter, setMarkBefore, setMarks, setMarqueeDirection, setMarqueePlayCount, setMarqueeSpeed, setMarqueeStyle, setMask, setMaskType, setMaxHeight, setMaxHeight, setMaxHeight, setMaxHeightToWindowHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMaxWidthToWindowWidth, setMinHeight, setMinHeight, setMinHeightToWindowHeight, setMinWidth, setMinWidth, setMinWidth, setMinWidthToWindowWidth, setNavDown, setNavIndex, setNavIndex, setNavLeft, setNavRight, setNavUp, setObjectFit, setObjectPosition, setOnClickNavigateBack, setOnClickNavigateBack, setOnClickNavigateBack, setOnClickNavigateForward, setOnClickNavigateForward, setOnClickNavigateForward, setOnClickNavigateTo, setOnDblClick, setOnDblClickChange, setOpacity, setOpacity, setOrder, setOrder, setOrphans, setOutline, setOutline, setOutline, setOutline, setOutlineColor, setOutlineColor, setOutlineOffset, setOutlineOffset, setOutlineOffset, setOutlineStyle, setOutlineStyle, setOutlineWidth, setOutlineWidth, setOutlineWidth, setOutlineWidth, setOverflow, setOverflow, setOverflow, setOverflowWrap, setOverflowX, setOverflowX, setOverflowY, setOverflowY, setPadding, setPadding, setPadding, setPadding, setPadding, setPadding, setPadding, setPadding, setPaddingBottom, setPaddingBottom, setPaddingBottom, setPaddingLeft, setPaddingLeft, setPaddingLeft, setPaddingRight, setPaddingRight, setPaddingRight, setPaddingTop, setPaddingTop, setPaddingTop, setPageBreakAfter, setPageBreakAfter, setPageBreakBefore, setPageBreakBefore, setPageBreakInside, setPageBreakInside, setPerspective, setPerspective, setPerspective, setPerspectiveOrigin, setPerspectiveOrigin, setPerspectiveOrigin, setPerspectiveOrigin, setPhonemes, setPosition, setPosition, setPosition, setPosition, setPosition, setQuotes, setResize, setResize, setResizeToWindowHeight, setResizeToWindowHeight, setResizeToWindowWidth, setRest, setRestAfter, setRestBefore, setRight, setRight, setRight, setRotate, setRotate, setRowGap, setRowGap, setSaturate, setScale, setScale, setSepia, setShow, setSize, setSize, setSize, setSkewX, setSkewY, setStyle, setStyle, setTabSize, setTabSize, setTabSize, setTabSize, setTextAlign, setTextAlign, setTextAlignLast, setTextAlignLast, setTextCombineUpright, setTextCombineWeight, setTextDecoration, setTextDecoration, setTextDecorationColor, setTextDecorationColor, setTextDecorationLine, setTextDecorationLine, setTextDecorationStyle, setTextDecorationStyle, setTextIndent, setTextIndent, setTextIndent, setTextIndent, setTextJustify, setTextJustify, setTextOrientation, setTextOverflow, setTextOverflow, setTextSelectDisabled, setTextShadow, setTextShadow, setTextShadow, setTextShadow, setTextShadow, setTextTransform, setTextTransform, setTextUnderlinePosition, setTop, setTop, setTop, setTransform, setTransform, setTransformOrigin, setTransformOrigin, setTransformOrigin, setTransformOrigin, setTransformOrigin, setTransformStyle, setTransformStyle, setTransition, setTransitionDelay, setTransitionDelay, setTransitionDelay, setTransitionDuration, setTransitionDuration, setTransitionDuration, setTransitionProperty, setTransitionTimingFunction, setTransitionTimingFunction, setTransitionTimingFunction, setTransitionTimingFunction, setTranslateX, setTranslateY, setTranslateZ, setUnicodeBidi, setUnicodeBidi, setVerticalAlign, setVerticalAlign, setVisibility, setVisibility, setVoiceBalance, setVoiceDuration, setVoicePitch, setVoicePitchRange, setVoiceRate, setVoiceStress, setVoiceVolume, setWhiteSpace, setWhiteSpace, setWidows, setWidth, setWidth, setWidth, setWordBreak, setWordBreak, setWordSpacing, setWordSpacing, setWordSpacing, setWordSpacing, setWordWrap, setWordWrap, setWritingMode, setZIndex, setZIndex, show, shown, stopAnimation, transitionForward, transitionForward, transitionReverse, transitionReverse, updateStyle, updateStyle, updateStyleIfChangedMethods inherited from class com.oorian.html.VisualElement
clearOnClick, click, disable, enable, getAccessKey, getAutoCapitalize, getEnterKeyHint, getInputMode, getPopover, getRole, getTabIndex, getTitle, isAutoFocus, isContentEditable, isDisabled, isDraggable, isHidden, isInert, isSpellCheck, onDisabled, onEnabled, setAccessKey, setAriaAtomic, setAriaBusy, setAriaChecked, setAriaCheckedMixed, setAriaControls, setAriaCurrent, setAriaDescribedBy, setAriaDisabled, setAriaErrorMessage, setAriaExpanded, setAriaHasPopup, setAriaHasPopup, setAriaHidden, setAriaInvalid, setAriaLabel, setAriaLabelledBy, setAriaLevel, setAriaLive, setAriaModal, setAriaOwns, setAriaPressed, setAriaRequired, setAriaSelected, setAriaValueRange, setAriaValueText, setAutoCapitalize, setAutoFocus, setConsumeEvent, setContentEditable, setDisabled, setDraggable, setDropAllowed, setEnterKeyHint, setFocus, setHidden, setInert, setInputMode, setOnAnimationCancel, setOnAnimationEnd, setOnAnimationIteration, setOnAnimationStart, setOnAuxClick, setOnBeforeInput, setOnBeforeToggle, setOnBlur, setOnChange, setOnClick, setOnClickChange, setOnCompositionEnd, setOnCompositionStart, setOnCompositionUpdate, setOnContextMenu, setOnCopy, setOnCut, setOnDocumentResize, setOnFocus, setOnFocusIn, setOnFocusOut, setOnFormData, setOnGotPointerCapture, setOnInput, setOnInvalid, setOnKeyDown, setOnKeyPressed, setOnKeyUp, setOnLostPointerCapture, setOnMouseDown, setOnMouseEnter, setOnMouseLeave, setOnMouseMove, setOnMouseOut, setOnMouseOutChangeClass, setOnMouseOutChangeStyle, setOnMouseOutChangeStyle, setOnMouseOver, setOnMouseOverChangeClass, setOnMouseOverChangeStyle, setOnMouseOverChangeStyle, setOnMouseOverShow, setOnMouseUp, setOnPageLoad, setOnPaste, setOnPointerCancel, setOnPointerDown, setOnPointerEnter, setOnPointerLeave, setOnPointerMove, setOnPointerOut, setOnPointerOver, setOnPointerUp, setOnResize, setOnScroll, setOnScrollEnd, setOnSelect, setOnSelectionChange, setOnSelectStart, setOnToggle, setOnTouchCancel, setOnTouchEnd, setOnTouchMove, setOnTouchStart, setOnTransitionCancel, setOnTransitionEnd, setOnTransitionRun, setOnTransitionStart, setOnWheel, setOnWindowResize, setPopover, setRole, setRole, setSpellCheck, setTabIndex, setTitle, setTooltipMethods inherited from class com.oorian.html.Element
addAttribute, addAttribute, addAttribute, addAttribute, addElement, addLineBreak, addLineOfText, addLineOfText, addLineOfText, addParagraph, addParagraph, addSpacer, addText, addText, addText, addText, assignId, containsElement, containsElement, create, dispatchEvent, dispatchEvent, dispatchEvent, dispatchEvent, equals, excludeId, executeJs, executeJs, executeJs, getAccept, getAllElements, getAncestor, getAttribute, getAttributes, getComponent, getDir, getElement, getElementById, getElementCount, getElementCount, getElements, getElements, getElementsByComponentName, getElementsByTagName, getHtml, getId, getInnerHtml, getInnerHtml, getIs, getItemId, getItemProp, getItemRef, getItemType, getLang, getNextSibling, getPage, getParent, getPart, getPrevSibling, getSlot, getTagName, getTextContent, getUrl, hasAttribute, hasElements, insertElement, isChildOf, isClosedTag, isCreated, isDescendantOf, isDescendantOf, isInitialized, isItemScope, isTranslate, onCallback, onCreated, onElementAdded, onElementRemoved, onHashChange, onHidden, onInitialized, onJsReturn, onPageLoaded, onPageUnloaded, onRefresh, onShown, onUpdated, onUserEvent, prewrite, recreate, refresh, refresh, registerAddition, registerListener, registerListener, registerListener, registerListener, registerListener, registerListener, registerListener, registerSubtraction, registerUpdate, removeAllElements, removeAttribute, removeAttribute, removeElement, removeElement, removeFromParent, requestCallback, requestCallback, requestCallback, requestCallback, resetId, scrollTo, scrollToBottom, scrollToTop, self, sendCommand, sendUpdate, setAccept, setComponent, setDir, setDir, setElement, setId, setIs, setItemId, setItemProp, setItemRef, setItemScope, setItemType, setLang, setOnError, setOnLoad, setPage, setParent, setPart, setSlot, setTagName, setText, setText, setText, setText, setTranslate, toString, unregisterListener, update, updateAttributesMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oorian.messaging.events.client.MouseClickListener
onEvent
-
Constructor Details
-
AppShellLayout
public AppShellLayout()Constructs an AppShellLayout with default left sidebar. -
AppShellLayout
Constructs an AppShellLayout with the specified sidebar position.- Parameters:
position- the sidebar position (LEFT or RIGHT)
-
-
Method Details
-
initialize
protected void initialize()Builds the element tree for the layout.- Overrides:
initializein classStyledElement<AppShellLayout>
-
withRightSidebar
Creates a new AppShellLayout with right sidebar.- Returns:
- a new AppShellLayout with right sidebar
-
header
Sets the header content.- Parameters:
header- the header element- Returns:
- this AppShellLayout for method chaining
-
sidebar
Sets the sidebar content.- Parameters:
sidebar- the sidebar element- Returns:
- this AppShellLayout for method chaining
-
content
Sets the main content area.- Parameters:
content- the content element- Returns:
- this AppShellLayout for method chaining
-
setSidebarWidth
Sets the sidebar width.- Parameters:
width- the width in pixels- Returns:
- this AppShellLayout for method chaining
-
setSidebarWidth
Sets the sidebar width.- Parameters:
width- the width value (e.g., "260px", "20%", "16rem")- Returns:
- this AppShellLayout for method chaining
-
stickyHeader
Makes the header sticky (fixed at top during scroll).- Returns:
- this AppShellLayout for method chaining
-
setHeaderBackground
Sets the header background color.- Parameters:
color- the background color- Returns:
- this AppShellLayout for method chaining
-
setSidebarBackground
Sets the sidebar background color.- Parameters:
color- the background color- Returns:
- this AppShellLayout for method chaining
-
setContentBackground
Sets the content area background color.- Parameters:
color- the background color- Returns:
- this AppShellLayout for method chaining
-
collapseSidebar
Collapses the sidebar to hide it.- Returns:
- this AppShellLayout for method chaining
-
expandSidebar
Expands the sidebar to show it.- Returns:
- this AppShellLayout for method chaining
-
toggleSidebar
Toggles the sidebar collapsed/expanded state.- Returns:
- this AppShellLayout for method chaining
-
isSidebarCollapsed
public boolean isSidebarCollapsed()Checks if the sidebar is currently collapsed.- Returns:
- true if collapsed
-
setContentGap
Sets the gap between sidebar and content.- Parameters:
gap- the gap in pixels- Returns:
- this AppShellLayout for method chaining
-
setContentGap
Sets the gap between sidebar and content.- Parameters:
gap- the gap value (e.g., "16px", "1rem")- Returns:
- this AppShellLayout for method chaining
-
setContentPadding
Sets padding for the content area.- Parameters:
padding- the padding in pixels- Returns:
- this AppShellLayout for method chaining
-
setContentPadding
Sets padding for the content area.- Parameters:
padding- the padding value (e.g., "1rem", "24px")- Returns:
- this AppShellLayout for method chaining
-
setSidebarPadding
Sets padding for the sidebar.- Parameters:
padding- the padding in pixels- Returns:
- this AppShellLayout for method chaining
-
setSidebarPadding
Sets padding for the sidebar.- Parameters:
padding- the padding value (e.g., "1rem", "16px")- Returns:
- this AppShellLayout for method chaining
-
getHeaderPane
Returns the header pane for advanced customization.- Returns:
- the header pane
-
getSidebarPane
Returns the sidebar pane for advanced customization.- Returns:
- the sidebar pane
-
getContentPane
Returns the content pane for advanced customization.- Returns:
- the content pane
-
addSection
Adds a section with the specified label and content.This creates a clickable nav item in the sidebar and adds the content to an internal Deck. Clicking the nav item will show the corresponding content.
- Parameters:
label- the nav label for this sectioncontent- the content to display when this section is selected- Returns:
- this AppShellLayout for method chaining
-
addSection
Adds a section with the specified label, ID, and content.This creates a clickable nav item in the sidebar and adds the content to an internal Deck. Clicking the nav item will show the corresponding content.
- Parameters:
label- the nav label for this sectionid- optional ID for programmatic access (if null, generated from label)content- the content to display when this section is selected- Returns:
- this AppShellLayout for method chaining
-
showSection
Shows the section at the specified index.- Parameters:
index- the section index (0-based)- Returns:
- this AppShellLayout for method chaining
-
showSection
Shows the section with the specified ID.- Parameters:
id- the section ID- Returns:
- this AppShellLayout for method chaining
-
getActiveSectionIndex
public int getActiveSectionIndex()Returns the currently active section index.- Returns:
- the active section index, or -1 if no section is active
-
getSectionCount
public int getSectionCount()Returns the number of sections.- Returns:
- the section count
-
onEvent
Handles click events on nav items.- Specified by:
onEventin interfaceMouseClickListener- Parameters:
event- the mouse click event
-
getContentDeck
Returns the content deck for advanced customization.- Returns:
- the content Deck
-