com.keenedgesoftware.scrutinize.core.system.commands
Class SystemCommand

java.lang.Object
  |
  +--com.keenedgesoftware.scrutinize.core.CoreEntity
        |
        +--com.keenedgesoftware.scrutinize.core.Command
              |
              +--com.keenedgesoftware.scrutinize.core.system.commands.SystemCommand
Direct Known Subclasses:
ConnectClientCommand, DisconnectClientCommand, ResetSessionCommand, SaveSessionAsCommand, SaveSessionCommand, StartServerCommand, StopServerCommand

public abstract class SystemCommand
extends Command

Base class for system commands.


Fields inherited from class com.keenedgesoftware.scrutinize.core.Command
LEVEL_0, LEVEL_1, LEVEL_2, LEVEL_3, LEVEL_4, parser, STATE_FINAL, STATE_INITIAL, TYPE_SUSPENDING, TYPE_TERMINATING
 
Fields inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
ACTIVATE, BACKSLASH, EOL, GO, HASH, INIT, NEWLINE, QUIT, QUOTE, SLASH, SPACE
 
Constructor Summary
SystemCommand()
          Default constructor
SystemCommand(CommandManager cm, int type)
          Usual constructor for suspending-type command.
SystemCommand(CommandManager cm, int type, int level)
          Usual consructor for terminating-type command.
 
Method Summary
static void initialize(CommandManager cm)
          Initializes all system commands.
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.Command
getCursor, getLevel, getPicker, getPrompt, getSelector, getState, getType, messageHandler, setCursor, setPicker, setPrompt, setSelector, setState
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
getActiveView, getBroadcastManager, getCommandManager, getGraphicsGate, getGraphicsWorld, getMiscWorld, getModelWorld, getNetcaster, getRecorder, getScene, getSystemWorld, getTaskManager, getUniverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemCommand

public SystemCommand()
Default constructor

SystemCommand

public SystemCommand(CommandManager cm,
                     int type,
                     int level)
Usual consructor for terminating-type command.

SystemCommand

public SystemCommand(CommandManager cm,
                     int type)
Usual constructor for suspending-type command.
Method Detail

initialize

public static void initialize(CommandManager cm)
Initializes all system commands.