|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.templatingkit.navigation.SiteNavigationModel
public class SiteNavigationModel
Component used in the rendering script (freemarker,...) to display a Site Navigation. Returned by STKTemplateModel and all subclass.
Constructor Summary | |
---|---|
SiteNavigationModel(SiteNavigation siteNavigation,
javax.jcr.Node siteRoot,
javax.jcr.Node currentNode)
|
Method Summary | |
---|---|
int |
getHorizontalLevel()
Get the level (= depth) of the horizontal navigation. |
NavigationModel |
getHorizontalNavigation()
|
int |
getHorizontalStartLevel()
Get the start level of the horizontal navigation. |
int |
getVerticalLevel()
Get the level (= depth) of the vertical navigation. |
NavigationModel |
getVerticalNavigation()
|
int |
getVerticalStartLevel()
Get the start level of the vertical navigation. |
boolean |
isShowHorizontalNavigation()
|
boolean |
isShowVerticalNavigation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteNavigationModel(SiteNavigation siteNavigation, javax.jcr.Node siteRoot, javax.jcr.Node currentNode)
Method Detail |
---|
public NavigationModel getHorizontalNavigation() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public NavigationModel getVerticalNavigation() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public boolean isShowHorizontalNavigation()
public boolean isShowVerticalNavigation()
public int getHorizontalStartLevel()
public int getVerticalStartLevel()
public int getVerticalLevel()
public int getHorizontalLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |