info.magnolia.module.templatingkit.navigation
Class NavigationItem

java.lang.Object
  extended by info.magnolia.module.templatingkit.navigation.SubNavigation
      extended by 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

Constructor Summary
NavigationItem(javax.jcr.Node content, SubNavigation parent, int depth, boolean allOpen)
           
 
Method Summary
 String getHref()
           
 String getId()
           
 int getLevel()
           
 String getNavigationTitle()
           
 String getTitle()
           
 boolean isLeaf()
           
 boolean isSelected()
           
 boolean isVisible()
           
 
Methods inherited from class info.magnolia.module.templatingkit.navigation.SubNavigation
getContent, getItems, getParent, isOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationItem

public NavigationItem(javax.jcr.Node content,
                      SubNavigation parent,
                      int depth,
                      boolean allOpen)
Method Detail

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.