© 2006-2007 ETH Zurich

org.ximtec.igesture.io.wacomclient
Class WacomReaderEvent

java.lang.Object
  extended by org.ximtec.igesture.io.wacomclient.WacomReaderEvent
All Implemented Interfaces:
org.sigtec.input.InputDeviceEvent

public class WacomReaderEvent
extends Object
implements org.sigtec.input.InputDeviceEvent

Tablet reader event.

Version:
1.0, Nov 2007
Author:
Michele Croci, mcroci@gmail.com

Constructor Summary
WacomReaderEvent(org.sigtec.ink.input.TimestampedLocation location)
          Constructs a new tablet reader event.
 
Method Summary
 long getTimestamp()
          Returns the time when the event occurred.
 org.sigtec.ink.input.TimestampedLocation getTimestampedLocation()
          Returns the timestamped location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WacomReaderEvent

public WacomReaderEvent(org.sigtec.ink.input.TimestampedLocation location)
Constructs a new tablet reader event.

Parameters:
location - the position captured by the tablet.
Method Detail

getTimestamp

public long getTimestamp()
Returns the time when the event occurred.

Specified by:
getTimestamp in interface org.sigtec.input.InputDeviceEvent
Returns:
the time when the event occurred.

getTimestampedLocation

public org.sigtec.ink.input.TimestampedLocation getTimestampedLocation()
Returns the timestamped location.

Returns:
the timestamped location.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.