tecgraf.javautils.pdfviewer.core.actions
Class PDFNextPageAction
java.lang.Object
javax.swing.AbstractAction
tecgraf.javautils.pdfviewer.core.actions.PDFAbstractDocumentOpenAwareAction
tecgraf.javautils.pdfviewer.core.actions.PDFAbstractPageChangeAction
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
| 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 |
PDFNextPageAction
public PDFNextPageAction(PDFCorePanel pdfCorePanel)
- Construtor
- Parameters:
pdfCorePanel - painel básico.
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 1totalPages - número total de páginas
Copyright © 2015 Tecgraf/PUC-Rio. All rights reserved.