de.qfs.apps.qflog.command
Class CommandFileOpen
java.lang.Object
|
+--java.util.EventObject
|
+--de.qfs.lib.command.Command
|
+--de.qfs.apps.qflog.command.CommandFileOpen
- public class CommandFileOpen
- extends de.qfs.lib.command.Command
- implements de.qfs.lib.command.Invokable
This Command creates a new view for a LogFile.
- Version:
- $Revision: 1.10 $
- Author:
- Gregor Schmid
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CommandFileOpen(java.lang.Object source,
java.awt.Frame parent)
Create a new CommandFileOpen. |
CommandFileOpen(java.lang.Object source,
java.awt.Frame parent,
java.io.File file)
Create a new CommandFileOpen. |
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 |
CommandFileOpen
public CommandFileOpen(java.lang.Object source,
java.awt.Frame parent)
- Create a new CommandFileOpen.
- Parameters:
source
- The source of the Command.parent
- The parent Frame for the FileChooser.
CommandFileOpen
public CommandFileOpen(java.lang.Object source,
java.awt.Frame parent,
java.io.File file)
- Create a new CommandFileOpen.
- Parameters:
source
- The source of the Command.parent
- The parent Frame for the FileChooser - ignored.file
- The file to open.
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.