org.zeroexchange.web.navigation.breadcrumb
Class Breadcrumb

java.lang.Object
  extended by org.zeroexchange.web.navigation.breadcrumb.Breadcrumb
All Implemented Interfaces:
Serializable

public class Breadcrumb
extends Object
implements Serializable

The breadcrumb structure.

Author:
black
See Also:
Serialized Form

Constructor Summary
Breadcrumb(String titleKey, String pageKey, Target target, boolean isRoot)
          Constructor.
 
Method Summary
 int getIndex()
          Returns breadcrumb index.
 String getPageKey()
           
 Target getTarget()
           
 String getTitleKey()
           
 boolean isRoot()
           
 void setIndex(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Breadcrumb

public Breadcrumb(String titleKey,
                  String pageKey,
                  Target target,
                  boolean isRoot)
Constructor.

Method Detail

isRoot

public boolean isRoot()
Returns:
the isRoot

getTitleKey

public String getTitleKey()
Returns:
the key

getPageKey

public String getPageKey()
Returns:
the pageKey

getIndex

public int getIndex()
Returns breadcrumb index.


setIndex

public void setIndex(int index)

getTarget

public Target getTarget()
Returns:
the target


Copyright © 2013. All Rights Reserved.