The SwingViewBuilder methods, buildViewerFrame and buildViewerPanel, provide the high-level entry points for the GUI construction process, with each constructing complete PDF Viewer user interfaces. In addition, numerous other build... methods are available that construct specific components and subcomponents. See the JavaDoc for the SwingViewBuilder class for an overview of the various build... methods. For example, the buildCompleteMenubar() method will construct and return a complete application menu bar, including File, View, Document, Window, and Help menus. The buildFileMenu() method will construct and return the File menu, including menu items for Open, Close, Save As, Export, Print, etc. You may use the SwingViewBuilder methods at any level that is appropriate for your application to construct the various user interface components that you require. If you prefer to customize the GUI components that the SwingViewBuilder creates, you will need to adopt one of the following strategies:
|
Customizing the SwingViewBuilder
© Copyright 2017 ICEsoft Technologies Canada Corp.