public class TreeMenuFormatter extends org.jboss.dashboard.ui.taglib.formatter.Formatter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allSectionsOpen |
protected boolean |
isEditMode |
| Constructor and Description |
|---|
TreeMenuFormatter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAllChecked() |
protected List |
calculateOpenSections() |
boolean |
hasVisibleChildren(org.jboss.dashboard.workspace.Section section)
Determine if a page has visible children
|
boolean |
isChecked(org.jboss.dashboard.workspace.Section section)
Determines if a page is checked.
|
boolean |
isCurrent(org.jboss.dashboard.workspace.Section section)
Determines if a page is current.
|
boolean |
isShowable(org.jboss.dashboard.workspace.Section section)
Determines if a page is showable.
|
protected void |
printSection(org.jboss.dashboard.workspace.Section section,
int level) |
protected void |
renderSection(org.jboss.dashboard.workspace.Section section,
int level) |
protected void |
renderSectionEditionMode(org.jboss.dashboard.workspace.Section section,
int level) |
protected void |
renderTabulation() |
void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
afterRendering, formatObject, getDefaultLang, getDriver, getEncoding, getLang, getLocale, getLocaleManager, getLocalizedValue, getPanel, getParameter, getProvider, getSection, getWorkspace, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOutprotected boolean isEditMode
protected boolean allSectionsOpen
public void service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws org.jboss.dashboard.ui.taglib.formatter.FormatterException
service in class org.jboss.dashboard.ui.taglib.formatter.Formatterorg.jboss.dashboard.ui.taglib.formatter.FormatterExceptionprotected void renderSectionEditionMode(org.jboss.dashboard.workspace.Section section, int level)
protected void renderSection(org.jboss.dashboard.workspace.Section section, int level)
protected void renderTabulation()
protected void printSection(org.jboss.dashboard.workspace.Section section, int level)
public boolean hasVisibleChildren(org.jboss.dashboard.workspace.Section section)
section - page to be consideredpublic boolean isShowable(org.jboss.dashboard.workspace.Section section)
section - page to be consideredpublic boolean isCurrent(org.jboss.dashboard.workspace.Section section)
section - page to be consideredpublic boolean isChecked(org.jboss.dashboard.workspace.Section section)
section - page to be consideredpublic boolean areAllChecked()
protected List calculateOpenSections()
Copyright © 2012–2015 JBoss by Red Hat. All rights reserved.