public abstract class AbstractOpenPdfFileAction extends AbstractSimpleApplicationAction<PDFViewer>
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIP| Constructor and Description |
|---|
AbstractOpenPdfFileAction(PDFViewer application,
javax.swing.ImageIcon icon)
Construtor padrão.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract csbase.logic.ClientFile |
chooseClientFileOrNull()
Escolhe um arquivo ou retorna nulo caso nenhum arquivo tenha sido escolhido
|
protected void |
handleActionPerformed(java.awt.event.ActionEvent ae)
Método que implementa a lógica da ação.
|
actionPerformed, getClassString, getDefaultIcon, getString, getStrokeFromTextgetApplicationpublic AbstractOpenPdfFileAction(PDFViewer application, javax.swing.ImageIcon icon)
application - aplicação.icon - icone de abertura de arquivoprotected abstract csbase.logic.ClientFile chooseClientFileOrNull()
protected void handleActionPerformed(java.awt.event.ActionEvent ae)
throws java.lang.Exception
handleActionPerformed in class AbstractSimpleApplicationAction<PDFViewer>ae - evento que gerou a ação.java.lang.Exception - se houver falha na ação.Copyright © 2016. All Rights Reserved.