com.mucommander.ui.action
Class RecallWindowAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.mucommander.ui.action.MuAction
          extended by com.mucommander.ui.action.RecallWindowAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
RecallWindow10Action, RecallWindow1Action, RecallWindow2Action, RecallWindow3Action, RecallWindow4Action, RecallWindow5Action, RecallWindow6Action, RecallWindow7Action, RecallWindow8Action, RecallWindow9Action

public class RecallWindowAction
extends MuAction
implements java.beans.PropertyChangeListener

Brings a MainFrame window to the front. The window number must be specified in the WINDOW_NUMBER_PROPERTY_KEY property, and must exist (i.e. must refer to an existing window number).

Author:
Maxence Bernard
See Also:
WindowManager, Serialized Form

Field Summary
static java.lang.String WINDOW_NUMBER_PROPERTY_KEY
           
 
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
RecallWindowAction(MainFrame mainFrame, java.util.Hashtable properties)
           
 
Method Summary
 void performAction()
          Called when this action has been triggered.
 void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent)
           
 
Methods inherited from class com.mucommander.ui.action.MuAction
actionPerformed, getAccelerator, getAcceleratorText, getAlternateAccelerator, getIcon, getKeyStrokeRepresentation, getLabel, getMainFrame, getModifiersRepresentation, getStandardAccelerator, getStandardAccelerator, getStandardAlternateAccelerator, getStandardAlternateAccelerator, getStandardIcon, getStandardIcon, getStandardIconPath, getStandardIconPath, getStandardLabel, getStandardLabel, getStandardLabelKey, getStandardLabelKey, getStandardTooltip, getStandardTooltip, getStandardTooltipKey, getStandardTooltipKey, getToolTipText, honourNoEventsMode, isAccelerator, performActionInSeparateThread, reportError, reportError, reportGenericError, setAccelerator, setAlternateAccelerator, setHonourNoEventsMode, setIcon, setLabel, setPerformActionInSeparateThread, setToolTipText
 
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

WINDOW_NUMBER_PROPERTY_KEY

public static final java.lang.String WINDOW_NUMBER_PROPERTY_KEY
See Also:
Constant Field Values
Constructor Detail

RecallWindowAction

public RecallWindowAction(MainFrame mainFrame,
                          java.util.Hashtable properties)
Method Detail

performAction

public void performAction()
Description copied from class: MuAction
Called when this action has been triggered. This method provides a response to the action trigger.

Specified by:
performAction in class MuAction

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard