proguard.gui.splash
Class SmoothTiming

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

public class SmoothTiming
extends Object

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

Author:
Eric Lafortune

Constructor Summary
SmoothTiming(long fromTime, long toTime)
          Creates a new SmoothTiming.
 
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

SmoothTiming

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

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.