tecgraf.javautils.pdfviewer.core.actions
Class PDFPrevPageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by tecgraf.javautils.pdfviewer.core.actions.PDFAbstractDocumentOpenAwareAction
          extended by tecgraf.javautils.pdfviewer.core.actions.PDFAbstractPageChangeAction
              extended by tecgraf.javautils.pdfviewer.core.actions.PDFPrevPageAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, PDFDocumentOpenCloseListener, PDFPageChangedListener

public class PDFPrevPageAction
extends PDFAbstractPageChangeAction

Ação de página anterior.

Author:
Tecgraf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
PDFPrevPageAction(PDFCorePanel pdfCorePanel)
          Construtor
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 void pageChanged(int pageNum, int totalPages)
          Notifica que uma página mudou
 
Methods inherited from class tecgraf.javautils.pdfviewer.core.actions.PDFAbstractDocumentOpenAwareAction
documentClosed, documentOpened, getPDFCorePanel
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFPrevPageAction

public PDFPrevPageAction(PDFCorePanel pdfCorePanel)
Construtor

Parameters:
pdfCorePanel - painel básico.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)


pageChanged

public void pageChanged(int pageNum,
                        int totalPages)
Notifica que uma página mudou

Parameters:
pageNum - número da página, onde 0 é a página 1
totalPages - número total de páginas


Copyright © 2015 Tecgraf/PUC-Rio. All rights reserved.