public class G9DesktopPane.CascadeAction extends AbstractAction
Normally it should be sufficient to use the action map to get an instance of this action (since you normally only want one instance in your app).
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultDesc
The default short description text
|
Integer |
defaultMnemonic
The default menmonic key - 'C'
|
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 and Description |
|---|
CascadeAction(String text,
ImageIcon icon,
String desc,
Integer mnemonic)
Constructor - creates a new instance of CascadeAction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic static final String defaultDesc
public final Integer defaultMnemonic
public CascadeAction(String text, ImageIcon icon, String desc, Integer mnemonic)
text - the text displayed on buttons etc.icon - the icon displayed on buttons etc.desc - the short description of this action - used for tooltip
functions.mnemonic - the mnemonic key for this action.public void actionPerformed(ActionEvent e)
Copyright © 2006–2018 Esito AS. All rights reserved.