de.qfs.apps.qflog.command
Class CommandFileSaveAs

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--de.qfs.lib.command.Command
              |
              +--de.qfs.apps.qflog.command.CommandFileSaveAs

public class CommandFileSaveAs
extends de.qfs.lib.command.Command
implements de.qfs.lib.command.Invokable

This Command saves the log entries from the listener in the selected row of the listener table into a log file.

Version:
$Revision: 1.10 $
Author:
Gregor Schmid
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CommandFileSaveAs(java.lang.Object source, java.awt.Frame parent, javax.swing.JTable table)
          Create a new CommandFileSaveAs.
 
Method Summary
 java.lang.Object invoke()
          Invoke the command.
 
Methods inherited from class de.qfs.lib.command.Command
isHandled, setHandled
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandFileSaveAs

public CommandFileSaveAs(java.lang.Object source,
                         java.awt.Frame parent,
                         javax.swing.JTable table)
Create a new CommandFileSaveAs.
Parameters:
source - The source of the Command.
parent - The parent Frame for the FileChooser.
table - The listener table.
Method Detail

invoke

public java.lang.Object invoke()
                        throws de.qfs.lib.command.CommandException
Invoke the command.
Specified by:
invoke in interface de.qfs.lib.command.Invokable
Returns:
Always null.
Throws:
de.qfs.lib.command.CommandException - Never.