com.keenedgesoftware.scrutinize.core.graphics.commands
Class GraphicsCommand

java.lang.Object
  |
  +--com.keenedgesoftware.scrutinize.core.CoreEntity
        |
        +--com.keenedgesoftware.scrutinize.core.Command
              |
              +--com.keenedgesoftware.scrutinize.core.graphics.commands.GraphicsCommand
Direct Known Subclasses:
CentreCommand, DeleteAllCommand, DeleteCommand, DeleteNodeCommand, FitCommand, GArrowCommand, GArrowheadCommand, GAxesCommand, GGroupCommand, GLineArrayCommand, GLineCommand, GMeshCommand, GPointArrayCommand, GPointCommand, GPolylineArrayCommand, GPolylineCommand, GQuadArrayCommand, HiliteNodeCommand, HomeCommand, MoveCommand, NextViewCommand, PanDynamicCommand, PreviousViewCommand, ResetHomeCommand, RotateCommand, RotateDynamicCommand, ScaleCommand, SetHomeDirCommand, SetHomeUpCommand, SetPropertyCommand, TransformCommand, UnhiliteAllCommand, UnhiliteNodeCommand, ZoomCommand, ZoomDynamicCommand, ZoomWindowCommand

public abstract class GraphicsCommand
extends Command

Base class for graphics 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
GraphicsCommand()
          Default constructor
GraphicsCommand(CommandManager cm, int type)
          Usual constructor for suspending-type command
GraphicsCommand(CommandManager cm, int type, int level)
          Usual constructor for terminating-type command
 
Method Summary
static void initialize(CommandManager cm)
          Initializes all the graphics 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

GraphicsCommand

public GraphicsCommand()
Default constructor

GraphicsCommand

public GraphicsCommand(CommandManager cm,
                       int type,
                       int level)
Usual constructor for terminating-type command

GraphicsCommand

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

initialize

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