pop.gui
Class SaveAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--pop.gui.AbstractStep
              |
              +--pop.gui.SaveAction

public class SaveAction
extends AbstractStep

Saves a model to a file.

See Also:
Serialized Form

Inner Class Summary
 class SaveAction.ModelFileFilter
          A filter for .pop files.
 
Inner classes inherited from class pop.gui.AbstractStep
AbstractStep.StepFrame, AbstractStep.StepTableModel
 
Fields inherited from class pop.gui.AbstractStep
input_filename, manager, user_directory
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
SaveAction()
          Constructs a new SaveAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves a filename from the user for saving the model.
 boolean got_file()
          True if the user has asked for a file to be opened.
 java.lang.String output_filename()
          Returns the output filename if it exists.
 
Methods inherited from class pop.gui.AbstractStep
choose_input_file, clear_done, confirm, has_manager, inform, set_manager, setUpIntegerEditor, show_done, timesRoman
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveAction

public SaveAction()
Constructs a new SaveAction
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Retrieves a filename from the user for saving the model.
Overrides:
actionPerformed in class javax.swing.AbstractAction

got_file

public boolean got_file()
True if the user has asked for a file to be opened.

output_filename

public java.lang.String output_filename()
Returns the output filename if it exists.