tecgraf.javautils.pdfviewer.core.actions
Class PDFNextPageAction

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.PDFNextPageAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, PDFDocumentOpenCloseListener, PDFPageChangedListener

public class PDFNextPageAction
extends PDFAbstractPageChangeAction

Ação de página posterior.

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
PDFNextPageAction(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

PDFNextPageAction

public PDFNextPageAction(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.