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

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

public class ZoomDynamicCommand
extends GraphicsCommand

Zooms the active view dynamically under control of the mouse.

Example:
$zoomDynamic
"button1Down 0 0.5046439628482973 -0.2584269662921348 497.23482879686776 393.1817334895816 -819.6987481564369" "drag 0 0.5046439628482973 -0.2359550561797752 496.2605350511262 396.7696851389636 -818.3092503789436" "drag 0 0.4984520123839009 -0.19850187265917607 500.30752247920526 404.54749375001995 -810.6103248406122" "drag 0 0.49226006191950455 -0.16104868913857673 506.9068968902618 412.3840814752175 -800.9341992145005" "button1Up 0 0.49226006191950455 -0.13108614232209748 512.3445989649441 418.05203587659616 -793.4300363858792"


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
ZoomDynamicCommand()
          Default constructor
ZoomDynamicCommand(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

ZoomDynamicCommand

public ZoomDynamicCommand()
Default constructor

ZoomDynamicCommand

public ZoomDynamicCommand(CommandManager cm)
Usual constructor
Method Detail

messageHandler

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