diva.whiteboard
Class CommandInterpreter
java.lang.Object
diva.canvas.interactor.AbstractInteractor
diva.sketch.BasicInterpreter
diva.sketch.MultiStateInterpreter
diva.whiteboard.CommandInterpreter
- All Implemented Interfaces:
- LayerListener, LayerMotionListener, Interactor, EventListener
public class CommandInterpreter
- extends MultiStateInterpreter
This interpreter handles selection and deletion of a stroke or a
group of strokes.
- Version:
- $Revision: 1.39 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
Method Summary |
SketchModel |
getGestureModel()
Return a sketch model containing all of the gestures that this
interpreter has processed, for debugging. |
Methods inherited from class diva.sketch.MultiStateInterpreter |
addClickListener, addHoldListener, addStrokeListener, getClickCount, mouseDragged, mousePressed, mouseReleased, removeClickListener, removeHoldListener, removeStrokeListener, timeout |
Methods inherited from class diva.sketch.BasicInterpreter |
appendStroke, finishStroke, getController, getCurrentStroke, getCurrentSymbol, isMotionEnabled, mouseEntered, mouseExited, mouseMoved, removeCurrentSymbol, startStroke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELETION_TYPE_ID
public static final String DELETION_TYPE_ID
- See Also:
- Constant Field Values
SELECTION_TYPE_ID
public static final String SELECTION_TYPE_ID
- See Also:
- Constant Field Values
CommandInterpreter
public CommandInterpreter(SketchController c,
WhiteboardState state,
MultipageDocument d)
getGestureModel
public SketchModel getGestureModel()
- Return a sketch model containing all of the gestures that this
interpreter has processed, for debugging.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.