org.jext.console.commands
Class ExitCommand

java.lang.Object
  extended by org.jext.console.commands.Command
      extended by org.jext.console.commands.ExitCommand

public class ExitCommand
extends Command

This command exits Jext or closes current window.

Author:
Romain Guy

Field Summary
 
Fields inherited from class org.jext.console.commands.Command
next
 
Constructor Summary
ExitCommand()
           
 
Method Summary
 java.lang.String getCommandName()
          Return the command name.
 java.lang.String getCommandSummary()
          Return the command summary.
 boolean handleCommand(Console console, java.lang.String command)
          Handles a command given by the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitCommand

public ExitCommand()
Method Detail

getCommandName

public java.lang.String getCommandName()
Description copied from class: Command
Return the command name. Displayed in console help summary.

Specified by:
getCommandName in class Command

getCommandSummary

public java.lang.String getCommandSummary()
Description copied from class: Command
Return the command summary. Displayed in console help summary.

Specified by:
getCommandSummary in class Command

handleCommand

public boolean handleCommand(Console console,
                             java.lang.String command)
Description copied from class: Command
Handles a command given by the console. If the command can be handled, return true, false otherwise.

Specified by:
handleCommand in class Command


Copyright ? 2002 Romain Guy.