| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.indiana.dlib.metsnav.data.PageItem
public abstract class PageItem
An abstract class that represents the item display in a page
| Constructor Summary | |
|---|---|
PageItem()
Creates a new instance of Page | 
|
| Method Summary | |
|---|---|
 void | 
addParent(Division division)
Adds an instance of Division to the parent list, if it's
 not in the list yet. | 
 String | 
getDescription()
 | 
abstract  String | 
getDisplay(ParameterMap properties)
Returns the display HTML code based on property values  | 
 Division | 
getFirstParent()
The first parent in the partent list.  | 
 String | 
getId()
Returns the unique id of this page  | 
 Division | 
getLastParent()
The last parent in the parent list.  | 
 ArrayList | 
getParents()
Returns the parents list.  | 
 void | 
setDescription(String description)
 | 
 void | 
setId(String string)
Sets the unique id for the page  | 
 void | 
setParents(ArrayList list)
Sets the parents list  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PageItem()
Page
| Method Detail | 
|---|
public void addParent(Division division)
Division to the parent list, if it's
 not in the list yet. A page can belong to different divisions. For
 example, on a book page, there could be several chapters or small
 divisions.
division - public abstract String getDisplay(ParameterMap properties)
properties - 
public Division getFirstParent()
public Division getLastParent()
public ArrayList getParents()
public void setParents(ArrayList list)
list - a list of parentspublic String getId()
public void setId(String string)
string - public String getDescription()
public void setDescription(String description)
description - The description to set.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||