proguard.gui.splash
Class LinearTiming

java.lang.Object
  extended by proguard.gui.splash.LinearTiming

public class LinearTiming
extends Object

This Timing ramps up linearly from 0 to 1 in a given time interval.

Author:
Eric Lafortune

Constructor Summary
LinearTiming(long fromTime, long toTime)
          Creates a new LinearTiming.
 
Method Summary
 double getTiming(long time)
          Returns the timing for the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearTiming

public LinearTiming(long fromTime,
                    long toTime)
Creates a new LinearTiming.

Parameters:
fromTime - the time at which the timing starts ramping up from 0.
toTime - the time at which the timing stops ramping up at 1.
Method Detail

getTiming

public double getTiming(long time)
Returns the timing for the given time.



Copyright © 2012. All Rights Reserved.