|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
de.jreality.ui.viewerapp.actions.AbstractJrAction
de.jreality.ui.viewerapp.actions.file.Quit
public class Quit
Closes the current application or informs a listener if one is registered.
| Field Summary |
|---|
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
Quit(String name)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
void |
setActionListener(ActionListener actionListener)
If an action listener is set and the application is not closed by this class. |
| Methods inherited from class de.jreality.ui.viewerapp.actions.AbstractJrAction |
|---|
createMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescription |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Quit(String name)
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class AbstractJrActionpublic void setActionListener(ActionListener actionListener)
actionListener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||