public class WhiteboardView.SketchInterpreter extends MultiStateInterpreter
CLICK_TIMEOUT, HOLD_TIMEOUT, MIN_DRAG_DISTANCE
_controller, _curStroke, _curSymbol, _strokeBuffer
Constructor and Description |
---|
SketchInterpreter(SketchController c) |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(LayerEvent evt)
Consume the event so it doesn't get passed down to the layer
below.
|
void |
mousePressed(LayerEvent evt)
Consume the event so it doesn't get passed down to the * layer
below.
|
void |
mouseReleased(LayerEvent evt)
Consume the event.
|
addClickListener, addHoldListener, addStrokeListener, getClickCount, removeClickListener, removeHoldListener, removeStrokeListener, timeout
appendStroke, finishStroke, getController, getCurrentStroke, getCurrentSymbol, isMotionEnabled, mouseEntered, mouseExited, mouseMoved, removeCurrentSymbol, startStroke
accept, getMouseFilter, isConsuming, isEnabled, mouseClicked, setConsuming, setEnabled, setMotionEnabled, setMouseFilter
public SketchInterpreter(SketchController c)
public void mousePressed(LayerEvent evt)
MultiStateInterpreter
mousePressed
in interface LayerListener
mousePressed
in class MultiStateInterpreter
public void mouseDragged(LayerEvent evt)
MultiStateInterpreter
mouseDragged
in interface LayerListener
mouseDragged
in class MultiStateInterpreter
public void mouseReleased(LayerEvent evt)
MultiStateInterpreter
mouseReleased
in interface LayerListener
mouseReleased
in class MultiStateInterpreter
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.