ProGuard

proguard.gui.splash
Class LinearTiming

java.lang.Object
  extended byproguard.gui.splash.LinearTiming
All Implemented Interfaces:
proguard.gui.splash.Timing

public class LinearTiming
extends Object
implements proguard.gui.splash.Timing

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


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)
Description copied from interface: proguard.gui.splash.Timing
Returns the timing for the given time.

Specified by:
getTiming in interface proguard.gui.splash.Timing

ProGuard