org.mozilla.jrex.ui
Interface JRexPrintPreviewToolBar

All Known Implementing Classes:
JRexPrintPreviewToolBarImpl

public interface JRexPrintPreviewToolBar

An interface representing JRex PrintPreview ToolBar. PrintPreview tool bar is for each root window, so the implementer should handle situation of showPrintToolBar for multiple and same windows.(Hint: when JRexPrintPreviewToolBar instance is used as singleton)

Version:
1.0
Author:
C.N.Medappa

Method Summary
 void hide(Window window)
          Invoked to programmatically hide Print ToolBar.
 void show(JRexCanvas browser, Container browserContainer, Window window)
          Invoked to Show Print ToolBar and hide MenuBar and ToolBar.
 

Method Detail

show

public void show(JRexCanvas browser,
                 Container browserContainer,
                 Window window)
Invoked to Show Print ToolBar and hide MenuBar and ToolBar.

Parameters:
browser - the browser component which requested Print Preview.
browserContainer - the root parent of the browser component, the layout of browserContainer is expected to be BorderLayout where NORTH contains Menu and Tool bar, CENTER has browser component and SOUTH has StatusBar.
window - the window which contains the browser component.
See Also:
JRexBrowserData

hide

public void hide(Window window)
Invoked to programmatically hide Print ToolBar.

Parameters:
window - the window which contains the browser component which requested Print Preview


Copyright © 2004 C.N.Medappa. All Rights Reserved.