|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
com.mucommander.ui.action.MuAction
com.mucommander.ui.action.CloseWindowAction
public class CloseWindowAction
If there is more than one window currently open, this action disposes the currently active MainFrame
(i.e. the one this action is attached to). On the contrary, if there is only one MainFrame currently open, this
action performs QuitAction to quit the application after confirmation by the user,
if the quit confirmation has not been disabled.
| Field Summary |
|---|
| Fields inherited from class com.mucommander.ui.action.MuAction |
|---|
ALTERNATE_ACCELERATOR_PROPERTY_KEY, mainFrame |
| 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 | |
|---|---|
CloseWindowAction(MainFrame mainFrame,
java.util.Hashtable properties)
|
|
| Method Summary | |
|---|---|
void |
performAction()
Called when this action has been triggered. |
| 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 CloseWindowAction(MainFrame mainFrame,
java.util.Hashtable properties)
| Method Detail |
|---|
public void performAction()
MuAction
performAction in class MuAction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard