class: BreadcrumbItem

public class: BreadcrumbItem
Author: : Tobias Schraut, created 30.05.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2349 $ $LastChangedDate: 2009-03-11 1; Complexity: 1
Dates: Created: 16.07.2009 15:32:01; Modified: 16.07.2009 15:32:01;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {1944FD66-39A0-42a4-93E2-A2C82028B443}
Class for single breadcrumbs. Each breadcrumb is represented with this class.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: BreadcrumbPage, FacesBean

Appears in: breadcrumb

Connections
 
Custom Properties
 
BreadcrumbItem Attributes
Attribute Details
private Method
  defaultAction
Notes: Method for default action.
private String
  displayValue
Notes: The String that should be displayed in the breadcrumb menu, e.g. "ViewItem"
private boolean
  isItemSpecific
Initial: false
Notes: Flag for marking the page as directly related to a single item (e.g. EditItemPage). These pages must be handled a little bit different in some cases (e.g. deletion of an item)
private boolean
  isLast
Initial: false
Notes: Flag indicating that this item is the last one.
private static Logger
  logger
Initial: Logger.getLogger(BreadcrumbItem.class)
private String
  page
Notes: The jsp page that should be addressed when the link in the breadcrumb navigation is clicked, e.g. "ViewItem.jsp"
 
BreadcrumbItem Methods
Operation Details
public
BreadcrumbItem():
Sequential
Notes: Default constructor.
public
BreadcrumbItem(
   String displayValue,
   String page,
   Method defaultAction,
   boolean isItemSpecific):
Sequential
Notes: Public constructor(with two parameters, the value to display and the page name that should be displayed). You may only use one of the public static final BreadcrumbItem's defined above.
public
equals(
   Object other):boolean
Sequential
Tags: annotations=@Override
public
executeDefaultAction():String
Sequential
public
getDefaultAction():Method
Sequential
public
getDisplayValue():String
Sequential
public
getIsLast():boolean
Sequential
public
getPage():String
Sequential
public
getPageLabel():String
Sequential
Notes: Internationalization is supported by this getter.
@return displayValue to label this BreadcrumbItem
public
isItemSpecific():boolean
Sequential
public
setDefaultAction(
   Method defaultAction):void
Sequential
public
setDisplayValue(
   String displayValue):void
Sequential
public
setIsLast(
   boolean isLast):void
Sequential
public
setItemSpecific(
   boolean isItemSpecific):void
Sequential
public
setPage(
   String page):void
Sequential
public
toString():String
Sequential
Tags: annotations=@Override