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

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.PanDynamicCommand

public class PanDynamicCommand
extends GraphicsCommand

Pans the active view dynamically under control of the mouse.

Example:
$panDynamic
"button1Down 0 0.04024767801857587 -0.09363295880149813 107.09039172800941 124.95665326048207 -137.07409167785175"
"drag 0 0.034055727554179516 -0.09363295880149813 108.23688946964673 124.9468782747747 -136.15765896716573"
"drag 0 0.021671826625387025 -0.08614232209737827 110.15432216540701 126.2611304013943 -133.84072114309564"
"button1Up 0 0.009287925696594534 -0.08614232209737827 109.38338721128409 124.93710328906727 -135.24122625647976"


Field Summary
static com.keenedgesoftware.scrutinize.core.misc.events.CursorEvent IDE_PAN_DYNAMIC_CURSOR
           
static com.keenedgesoftware.scrutinize.core.misc.events.PromptEvent IDE_PAN_DYNAMIC_PROMPT
           
static int STATE_DYNAMIC
          "Dynamic" state.
 
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
PanDynamicCommand()
          Default constructor
PanDynamicCommand(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
 

Field Detail

IDE_PAN_DYNAMIC_PROMPT

public static final com.keenedgesoftware.scrutinize.core.misc.events.PromptEvent IDE_PAN_DYNAMIC_PROMPT

IDE_PAN_DYNAMIC_CURSOR

public static final com.keenedgesoftware.scrutinize.core.misc.events.CursorEvent IDE_PAN_DYNAMIC_CURSOR

STATE_DYNAMIC

public static final int STATE_DYNAMIC
"Dynamic" state.
Constructor Detail

PanDynamicCommand

public PanDynamicCommand()
Default constructor

PanDynamicCommand

public PanDynamicCommand(CommandManager cm)
Usual constructor
Method Detail

messageHandler

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