ActionListener, Serializable, Cloneable, EventListener, Actionpublic class ActionViewCertificateList extends AbstractAction
| Modifier and Type | Field | Description |
|---|---|---|
protected JFrame |
parent |
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 | Description |
|---|---|
ActionViewCertificateList(JFrame parent,
JComponent c) |
|
ActionViewCertificateList(JFrame parent,
JComponent c,
boolean isSelected) |
Create a new ActionViewCertificateList.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected JFrame parent
public ActionViewCertificateList(JFrame parent, JComponent c, boolean isSelected)
This is an enable/disable action. Java 1.6 has support for this using
ButtonGroup.setSelected(javax.swing.ButtonModel, boolean), but we want to support
Java 1.5 as well, so have to code this ourselves. Because of this, you
need to have the initial status of components that use this element
equal to the isSelected parameter.
parent - Frame component is inc - Component to view/hideisSelected - Default value of this actionpublic ActionViewCertificateList(JFrame parent, JComponent c)
public void actionPerformed(ActionEvent e)
Copyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.