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, removeCurrentSymbolaccept, getMouseFilter, isConsuming, isEnabled, mouseClicked, setConsuming, setEnabled, setMotionEnabled, setMouseFilterpublic HighlightInterpreter(SketchController c)
protected final void appendStroke(LayerEvent e)
appendStroke in class BasicInterpreterprotected final void finishStroke(LayerEvent e)
finishStroke in class BasicInterpreterprotected final void startStroke(LayerEvent e)
BasicInterpreterstartStroke in class BasicInterpreterCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.