public class TocSidebar extends Toc<TocSidebar>
| Constructor and Description |
|---|
TocSidebar(ISkinConfig config)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
boolean |
isAutoExpandable()
Gets the indicating whether is auto-expanded.
|
boolean |
isExpanded()
Gets the indicating whether is expanded.
|
boolean |
isFixed()
Gets the indicating whether is fixed.
|
protected TocSidebar |
withAutoExpandable(boolean autoExpandable)
Sets the indicating whether is auto-expanded.
|
protected TocSidebar |
withExpanded(boolean expanded)
Sets the indicating whether is expanded.
|
protected TocSidebar |
withFixed(boolean fixed)
Sets the indicating whether is fixed.
|
protected TocSidebar |
withLevel(int level)
Sets the level limit to display
|
createSidebar, createToc, createTopBar, getTocItems, getType, isEnabled, onPreRender, self, toString, withEnabledgetBackground, getCssClass, getTheme, setBackground, setThemeaddChildren, addCssOptions, getBodyContent, getCssOptions, getHtmlTool, setCssClasspublic TocSidebar(@Nonnull ISkinConfig config)
config - a config (can not be null).public boolean isFixed()
true if is fixed, otherwise false.protected TocSidebar withFixed(boolean fixed)
fixed - true is fixed.public boolean isExpanded()
true if is expanded, otherwise false.protected TocSidebar withExpanded(boolean expanded)
expanded - true is expanded.public boolean isAutoExpandable()
true if is expanded, otherwise false.protected TocSidebar withAutoExpandable(boolean autoExpandable)
autoExpandable - true is auto-expanded.public int getLevel()
protected TocSidebar withLevel(int level)
level - the level to use.Copyright © 2012–2023 Friederich Christophe. All rights reserved.