com.bluemarsh.jswat.action
Class SaveSessionAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.bluemarsh.jswat.action.JSwatAction
              |
              +--com.bluemarsh.jswat.action.SaveSessionAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class SaveSessionAction
extends JSwatAction

Class SaveSessionAction allows the user to save the session.

Author:
Marko van Dooren
See Also:
Serialized Form

Fields inherited from class com.bluemarsh.jswat.action.JSwatAction
swat
 
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
SaveSessionAction()
          Creates a new SaveSessionAction object with the default action command string of "saveSession".
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Performs the save session action.
 
Methods inherited from class com.bluemarsh.jswat.action.JSwatAction
displayError, getFrame, getSession
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveSessionAction

public SaveSessionAction()
Creates a new SaveSessionAction object with the default action command string of "saveSession".
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Performs the save session action. This presents the user with a file selector and saves the current session to the selected file.
Overrides:
actionPerformed in class javax.swing.AbstractAction
Parameters:
event - action event