edu.stanford.hci.r3.events.handlers
Class LocationHandler

java.lang.Object
  extended by edu.stanford.hci.r3.events.EventHandler
      extended by edu.stanford.hci.r3.events.handlers.LocationHandler

public abstract class LocationHandler
extends EventHandler

Triggers different code depending on which area of the region we are writing on. May be useful for things like writing in the margin of a notebook.

This software is distributed under the BSD License.


Field Summary
 
Fields inherited from class edu.stanford.hci.r3.events.EventHandler
parentRegions
 
Constructor Summary
LocationHandler()
           
 
Method Summary
 void handleEvent(PenEvent event)
          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
 
Methods inherited from class edu.stanford.hci.r3.events.EventHandler
addParentRegion, getParentRegions, showMe, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationHandler

public LocationHandler()
Method Detail

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)

Copyright 2006 Stanford University