public class RupsController extends java.util.Observable implements javax.swing.event.TreeSelectionListener, PageSelectionListener
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JSplitPane |
masterComponent
Contains all other components: the page panel, the outline tree, etc.
|
protected RupsMenuBar |
menuBar
The JMenuBar for the RUPS application.
|
protected PdfFile |
pdfFile
The Pdf file that is currently open in the application.
|
protected PdfReaderController |
readerController
Object with the GUI components for iText.
|
| Constructor and Description |
|---|
RupsController(java.awt.Dimension dimension)
Constructs the GUI components of the RUPS application.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Component |
getMasterComponent()
Getter for the master component.
|
RupsMenuBar |
getMenuBar()
Getter for the menubar.
|
int |
gotoPage(int pageNumber)
Goes to a specific page number in a document.
|
void |
notifyObservers(java.lang.Object obj) |
void |
valueChanged(javax.swing.event.TreeSelectionEvent evt) |
protected PdfFile pdfFile
protected PdfReaderController readerController
protected RupsMenuBar menuBar
protected javax.swing.JSplitPane masterComponent
public RupsController(java.awt.Dimension dimension)
public RupsMenuBar getMenuBar()
public java.awt.Component getMasterComponent()
public void notifyObservers(java.lang.Object obj)
notifyObservers in class java.util.ObservableObservable.notifyObservers(java.lang.Object)public void valueChanged(javax.swing.event.TreeSelectionEvent evt)
valueChanged in interface javax.swing.event.TreeSelectionListenerTreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)public int gotoPage(int pageNumber)
PageSelectionListenergotoPage in interface PageSelectionListenerPageSelectionListener.gotoPage(int)