public abstract class AbstractOpenPdfFileAction extends AbstractSimpleApplicationAction<PDFViewer>
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIPchangeSupport, 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 |
|---|
AbstractOpenPdfFileAction(PDFViewer application,
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(ActionEvent ae)
Método que implementa a lógica da ação.
|
actionPerformed, getClassString, getDefaultIcon, getString, getStrokeFromTextgetApplicationaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected abstract csbase.logic.ClientFile chooseClientFileOrNull()
protected void handleActionPerformed(ActionEvent ae) throws Exception
handleActionPerformed in class AbstractSimpleApplicationAction<PDFViewer>ae - evento que gerou a ação.Exception - se houver falha na ação.Copyright © 2019. All rights reserved.