org.graffiti.plugin.view.interactive
Class WaitGesture

java.lang.Object
  extended by org.graffiti.plugin.view.interactive.WaitGesture
All Implemented Interfaces:
UserGesture

public class WaitGesture
extends Object
implements UserGesture

UserGesture representing doing nothing for a defined period of time. It is provided for convenience and its use by InteractiveViews is not prescribed.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner

Constructor Summary
WaitGesture(double deltaTime, double totalTime)
          Constructs a WaitGesture.
 
Method Summary
 double getDeltaTime()
          Returns the elapsed time since last time a WaitGesture was created for the same period of inactivity.
 double getTotalTime()
          Returns the elapsed time since the last UserGesture was created that was not a WaitGesture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitGesture

public WaitGesture(double deltaTime,
                   double totalTime)
Constructs a WaitGesture.

Parameters:
deltaTime - elapsed time since last time a WaitGesture was created for the same period of inactivity.
totalTime - elapsed time since the last UserGesture was created that was not a WaitGesture.
Method Detail

getDeltaTime

public double getDeltaTime()
Returns the elapsed time since last time a WaitGesture was created for the same period of inactivity.

Returns:
the elapsed time since last time a WaitGesture was created for the same period of inactivity.

getTotalTime

public double getTotalTime()
Returns the elapsed time since the last UserGesture was created that was not a WaitGesture.

Returns:
the elapsed time since the last UserGesture was created that was not a WaitGesture.


Generated at 2012-05-30 11:00:36 PM CEST