org.jboss.dashboard.ui.panel.navigation.treeMenu
Class TreeMenuFormatter
java.lang.Object
org.jboss.dashboard.ui.taglib.formatter.Formatter
org.jboss.dashboard.ui.panel.navigation.treeMenu.TreeMenuFormatter
public class TreeMenuFormatter
- extends org.jboss.dashboard.ui.taglib.formatter.Formatter
|
Method Summary |
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)
|
| Methods inherited from class org.jboss.dashboard.ui.taglib.formatter.Formatter |
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, writeToOut |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEditMode
protected boolean isEditMode
allSectionsOpen
protected boolean allSectionsOpen
TreeMenuFormatter
public TreeMenuFormatter()
service
public void service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws org.jboss.dashboard.ui.taglib.formatter.FormatterException
- Specified by:
service in class org.jboss.dashboard.ui.taglib.formatter.Formatter
- Throws:
org.jboss.dashboard.ui.taglib.formatter.FormatterException
renderSectionEditionMode
protected void renderSectionEditionMode(org.jboss.dashboard.workspace.Section section,
int level)
renderSection
protected void renderSection(org.jboss.dashboard.workspace.Section section,
int level)
renderTabulation
protected void renderTabulation()
printSection
protected void printSection(org.jboss.dashboard.workspace.Section section,
int level)
hasVisibleChildren
public boolean hasVisibleChildren(org.jboss.dashboard.workspace.Section section)
- Determine if a page has visible children
- Parameters:
section - page to be considered
- Returns:
- true if the page has visible children
isShowable
public boolean isShowable(org.jboss.dashboard.workspace.Section section)
- Determines if a page is showable.
- Parameters:
section - page to be considered
- Returns:
- true if the page is showable
isCurrent
public boolean isCurrent(org.jboss.dashboard.workspace.Section section)
- Determines if a page is current.
- Parameters:
section - page to be considered
- Returns:
- true if the page is current
isChecked
public boolean isChecked(org.jboss.dashboard.workspace.Section section)
- Determines if a page is checked.
- Parameters:
section - page to be considered
- Returns:
- true if the page is checked
areAllChecked
public boolean areAllChecked()
calculateOpenSections
protected List calculateOpenSections()
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.