public class HighlightInterpreter extends BasicInterpreter
_controller, _curStroke, _curSymbol, _strokeBuffer
Constructor and Description |
---|
HighlightInterpreter(SketchController c)
Create a HighlightInterpreter which is used by the
specified controller to interpret sketch input.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendStroke(LayerEvent e)
Append the given new point/timestamp to the current
stroke.
|
protected void |
finishStroke(LayerEvent e)
Called at the end of the mouseReleased method to
finish the drawing of a stroke.
|
protected void |
startStroke(LayerEvent e)
This method is invoked upon mouse down.
|
getController, getCurrentStroke, getCurrentSymbol, isMotionEnabled, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeCurrentSymbol
accept, getMouseFilter, isConsuming, isEnabled, mouseClicked, setConsuming, setEnabled, setMotionEnabled, setMouseFilter
public HighlightInterpreter(SketchController c)
protected final void appendStroke(LayerEvent e)
appendStroke
in class BasicInterpreter
protected final void finishStroke(LayerEvent e)
finishStroke
in class BasicInterpreter
protected final void startStroke(LayerEvent e)
BasicInterpreter
startStroke
in class BasicInterpreter
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.