com.qoppa.pdfViewer.panels
Interface BookmarkPanel

All Superinterfaces:
PDFPanel
All Known Subinterfaces:
BookmarkPanelEditor

public interface BookmarkPanel
extends PDFPanel

Interface to the panel that shows the document outlines (known as bookmarks in the PDF specs).

Author:
Qoppa Software

Field Summary
 
Fields inherited from interface com.qoppa.pdfViewer.panels.PDFPanel
ALWAYS_ACTIVE, DEFAULT_POLICY, NEVER_ACTIVE
 
Method Summary
 void collapseAll()
          Collapse all the leafs in the bookmarks tree.
 void expandAll()
          Expand all the leafs in the bookmarks tree.
 JTree getBookmarkTree()
          Returns a reference to the bookmark tree component.
 JButton getjbCollapseAll()
          Returns a reference to the collapse all button
 JButton getjbExpandAll()
          Returns a reference to the expand all button
 JButton getjbExport()
          Returns a reference to the Export button
 void setToolTipDisplay(boolean enabled)
          Enable or disable displaying the bookmark text in a tool tip.
 
Methods inherited from interface com.qoppa.pdfViewer.panels.PDFPanel
getActivePolicy, getToolbar, isActive, isPaneSelected, setActive, setActivePolicy, setPaneVisible
 

Method Detail

getBookmarkTree

JTree getBookmarkTree()
Returns a reference to the bookmark tree component. The host application can use this to change the look of the tree.


expandAll

void expandAll()
Expand all the leafs in the bookmarks tree.


collapseAll

void collapseAll()
Collapse all the leafs in the bookmarks tree.


getjbExpandAll

JButton getjbExpandAll()
Returns a reference to the expand all button

Returns:
reference to the expand all button

getjbCollapseAll

JButton getjbCollapseAll()
Returns a reference to the collapse all button

Returns:
A reference to the collapse all button

setToolTipDisplay

void setToolTipDisplay(boolean enabled)
Enable or disable displaying the bookmark text in a tool tip. This option can be enabled to display long bookmark text that would be truncated in the BoomkarkPanel.

Parameters:
enabled -

getjbExport

JButton getjbExport()
Returns a reference to the Export button

Returns:
A reference to the Export button