|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.jgraph.utils.gui.GPEscAction
The action analysis the source from the action event. If it is a JInternalFrame or a Window, then the action will call the dispose method.
Field Summary |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
GPEscAction()
Creates a new instance |
|
GPEscAction(javax.swing.JButton button)
Creates a new instance for the esc button |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
If the button is set, then the method will call the do click method at the button. |
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 |
Constructor Detail |
public GPEscAction()
public GPEscAction(javax.swing.JButton button)
Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener.actionPerformed(java.awt.event.ActionEvent)
,
AbstractButton.doClick()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |