com.qoppa.pdfViewer.panels
Interface PanelToolbar


public interface PanelToolbar

Interface to the helper panels toolbar. This interface provides methods to get some of the buttons in the toolbar and lets the host application change their settings.

Author:
Qoppa Software

Method Summary
 List getButtons()
          Returns a list of AbstractButton objects containing the buttons that are in the toolbar.
 JButton getCloseButton()
          Returns a reference to the panel's close button.
 void setVisible(boolean visible)
           
 

Method Detail

getButtons

List getButtons()
Returns a list of AbstractButton objects containing the buttons that are in the toolbar. The buttons are normally either JButton or JToggleButton objects but can be any child component that extends AbstractButton. The list includes the close button, which can also be referenced directly by calling getCloseButton().

Returns:
A list of buttons on the toolbar.

setVisible

void setVisible(boolean visible)
Parameters:
visible -

getCloseButton

JButton getCloseButton()
Returns a reference to the panel's close button. This is the button with an X at right side of the panel's toolbar that closes the panel.