|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
com.lowagie.rups.controller.RupsController
public class RupsController
This class controls all the GUI components that are shown in the RUPS application: the menu bar, the panels,...
Field Summary | |
---|---|
protected 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 Summary | |
---|---|
RupsController(Dimension dimension)
Constructs the GUI components of the RUPS application. |
Method Summary | |
---|---|
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(Object obj)
|
void |
valueChanged(TreeSelectionEvent evt)
|
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PdfFile pdfFile
protected PdfReaderController readerController
protected RupsMenuBar menuBar
protected JSplitPane masterComponent
Constructor Detail |
---|
public RupsController(Dimension dimension)
Method Detail |
---|
public RupsMenuBar getMenuBar()
public Component getMasterComponent()
public void notifyObservers(Object obj)
notifyObservers
in class Observable
Observable.notifyObservers(java.lang.Object)
public void valueChanged(TreeSelectionEvent evt)
valueChanged
in interface TreeSelectionListener
TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)
public int gotoPage(int pageNumber)
PageSelectionListener
gotoPage
in interface PageSelectionListener
PageSelectionListener.gotoPage(int)
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |