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

java.lang.Object
  |
  +--com.keenedgesoftware.scrutinize.core.CoreEntity
        |
        +--com.keenedgesoftware.scrutinize.core.Command
              |
              +--com.keenedgesoftware.scrutinize.core.graphics.commands.GraphicsCommand
                    |
                    +--com.keenedgesoftware.scrutinize.core.graphics.commands.CentreCommand

public class CentreCommand
extends GraphicsCommand

Centres the view on a selected entity or on a picked free position.

Examples:
$centre "select /p2 true 7.0 -7.0 0.0"
$centre "button1Down 0 0.05 0.22 7.11 22.84 100.0"


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
CentreCommand()
          Default constructor
CentreCommand(CommandManager cm)
          Usual constructor.
 
Method Summary
 boolean messageHandler(java.lang.String message)
          Message handler
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.graphics.commands.GraphicsCommand
initialize
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.Command
getCursor, getLevel, getPicker, getPrompt, getSelector, getState, getType, 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

CentreCommand

public CentreCommand()
Default constructor

CentreCommand

public CentreCommand(CommandManager cm)
Usual constructor.
Method Detail

messageHandler

public boolean messageHandler(java.lang.String message)
Message handler
Overrides:
messageHandler in class Command