|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
ides.api.utilities.GeneralUtils.JOptionPaneKeyBinder.ShortcutHandler
protected static class GeneralUtils.JOptionPaneKeyBinder.ShortcutHandler
Handler for the activation of the simplified custom shortcuts.
| Field Summary | |
|---|---|
protected java.lang.String |
buttonText
The text of the button which has to be activated. |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
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 Summary | |
|---|---|
GeneralUtils.JOptionPaneKeyBinder.ShortcutHandler(java.lang.String buttonText)
Create a handler which will activate the button with the given text. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Looks up the button with the specified text and calls its the AbstractButton.doClick() method. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String buttonText
| Constructor Detail |
|---|
public GeneralUtils.JOptionPaneKeyBinder.ShortcutHandler(java.lang.String buttonText)
buttonText - the text of the button which needs to be activated| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
AbstractButton.doClick() method. The button is looked up in the
top-level ancestor of the source (component) of this action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||