edu.stanford.hci.r3.events.handlers
Class StrokeHandler
java.lang.Object
edu.stanford.hci.r3.events.EventHandler
edu.stanford.hci.r3.events.handlers.StrokeHandler
public abstract class StrokeHandler
- extends EventHandler
Handles single pen strokes...
This software is distributed under the BSD License.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StrokeHandler
public StrokeHandler()
getStroke
public InkStroke getStroke()
handleEvent
public void handleEvent(PenEvent event)
- Description copied from class:
EventHandler
- if this event should be consumed (i.e., lower priority event handlers should not see this
event), we should set the event.consumed property to true
- Specified by:
handleEvent
in class EventHandler
- See Also:
EventHandler.handleEvent(edu.stanford.hci.r3.events.PenEvent)
strokeArrived
public abstract void strokeArrived(PenEvent e)
- Parameters:
e
-
toString
public java.lang.String toString()
- Specified by:
toString
in class EventHandler
- Returns:
- the Event Handler's Name