uk.ac.kcl.cch.jb.pliny.pdfAnnot.views
Class PDFOutlineItem

java.lang.Object
  extended byuk.ac.kcl.cch.jb.pliny.pdfAnnot.views.PDFOutlineItem

public class PDFOutlineItem
extends Object

the model item for the PDFOutline view's display -- each item corresponds to an item in the PDF's table of contents.

Some code in here is derived from a JPedal example.

Author:
John Bradley

Constructor Summary
PDFOutlineItem()
           
PDFOutlineItem(Element currentElement)
           
 
Method Summary
 void collectChildren(Element currentElement)
           
 Vector getChildren()
           
 int getPage()
           
 PDFOutlineItem getParent()
           
 String getTitle()
           
 boolean hasChildren()
           
 void setAsRoot(Document outline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFOutlineItem

public PDFOutlineItem()

PDFOutlineItem

public PDFOutlineItem(Element currentElement)
Method Detail

getParent

public PDFOutlineItem getParent()

getTitle

public String getTitle()

getPage

public int getPage()

getChildren

public Vector getChildren()

collectChildren

public void collectChildren(Element currentElement)

hasChildren

public boolean hasChildren()

setAsRoot

public void setAsRoot(Document outline)