info.magnolia.module.templatingkit.navigation
Class NavigationItem
java.lang.Object
info.magnolia.module.templatingkit.navigation.SubNavigation
info.magnolia.module.templatingkit.navigation.NavigationItem
- All Implemented Interfaces:
- Link
- Direct Known Subclasses:
- Home
public class NavigationItem
- extends SubNavigation
- implements Link
Element of a navigation tree.
Used by STK navigation Model.
- Version:
- $Id$
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationItem
public NavigationItem(javax.jcr.Node content,
SubNavigation parent,
int depth,
boolean allOpen)
getLevel
public int getLevel()
getId
public String getId()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isVisible
public boolean isVisible()
isLeaf
public boolean isLeaf()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isSelected
public boolean isSelected()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getHref
public String getHref()
- Specified by:
getHref
in interface Link
getTitle
public String getTitle()
- Specified by:
getTitle
in interface Link
getNavigationTitle
public String getNavigationTitle()
- Specified by:
getNavigationTitle
in interface Link
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.