ProGuard

proguard.gui.splash
Class LinearDouble

java.lang.Object
  extended byproguard.gui.splash.LinearDouble
All Implemented Interfaces:
proguard.gui.splash.VariableDouble

public class LinearDouble
extends Object
implements proguard.gui.splash.VariableDouble

This VariableDouble varies linearly with respect to its Timing.


Constructor Summary
LinearDouble(double fromValue, double toValue, proguard.gui.splash.Timing timing)
          Creates a new LinearDouble.
 
Method Summary
 double getDouble(long time)
          Returns the double for the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearDouble

public LinearDouble(double fromValue,
                    double toValue,
                    proguard.gui.splash.Timing timing)
Creates a new LinearDouble.

Parameters:
fromValue - the value that corresponds to a timing of 0.
toValue - the value that corresponds to a timing of 1.
timing - the applied timing.
Method Detail

getDouble

public double getDouble(long time)
Description copied from interface: proguard.gui.splash.VariableDouble
Returns the double for the given time.

Specified by:
getDouble in interface proguard.gui.splash.VariableDouble

ProGuard