class ImageViewerDialog.ImageAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
private String |
action |
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
Constructor and Description |
---|
ImageAction(String action,
ImageIcon icon,
String toolTipText) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
ImageAction(String action, ImageIcon icon, String toolTipText)
public void actionPerformed(ActionEvent e)