ActionListener
, ItemListener
, Serializable
, Cloneable
, EventListener
, Action
, ListSelectionListener
public class ActionExport extends CertificateAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
certificatePair, isWantEnabled, logger, parent, selection
Constructor | Description |
---|---|
ActionExport(JFrame parent,
CertificateSelection s) |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(ActionEvent e) |
The actual handler when the action is performed
|
void |
doExport(ActionEvent e,
File f,
char[] pw) |
Export the current certificate to a file
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener
findWindow, findWindow, getCertificatePair, itemStateChanged, setCertificatePair, setEnabled, valueChanged, wantsEnabled
public ActionExport(JFrame parent, CertificateSelection s)
public void actionPerformed(ActionEvent e)
CertificateAction
actionPerformed
in interface ActionListener
actionPerformed
in class CertificateAction
public void doExport(ActionEvent e, File f, char[] pw)
e
- originating eventf
- File to export topw
- password to use, or null
to use private key passwordCopyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.