public abstract class PDFAbstractDocumentOpenAwareAction extends AbstractAction implements PDFDocumentOpenCloseListener
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
PDFAbstractDocumentOpenAwareAction(PDFCorePanel pdfCorePanel,
Icon icon)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
void |
documentClosed(PDFCorePanel source)
Indica que um documento PDF foi fechado
|
void |
documentOpened(PDFCorePanel source)
Indica que um documento PDF foi aberto
|
protected PDFCorePanel |
getPDFCorePanel()
Consulta o painel básico associado.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformedpublic PDFAbstractDocumentOpenAwareAction(PDFCorePanel pdfCorePanel, Icon icon)
pdfCorePanel - painel básico.icon - ícone da açãoprotected PDFCorePanel getPDFCorePanel()
public void documentOpened(PDFCorePanel source)
documentOpened in interface PDFDocumentOpenCloseListenersource - PDFCorePanel origem do eventopublic void documentClosed(PDFCorePanel source)
documentClosed in interface PDFDocumentOpenCloseListenersource - PDFCorePanel origem do eventoCopyright © 2016 Tecgraf/PUC-Rio. All rights reserved.