org.jdesktop.swing.animation.timing.evaluators
Class EvaluatorColor

java.lang.Object
  extended by org.jdesktop.swing.animation.timing.evaluators.EvaluatorColor
All Implemented Interfaces:
org.jdesktop.core.animation.timing.Evaluator<Color>

@Immutable
public final class EvaluatorColor
extends Object
implements org.jdesktop.core.animation.timing.Evaluator<Color>

An evaluator for Color.

Author:
Chet Haase, Tim Halloran

Constructor Summary
EvaluatorColor()
           
 
Method Summary
 Color evaluate(Color v0, Color v1, double fraction)
           
 Class<Color> getEvaluatorClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatorColor

public EvaluatorColor()
Method Detail

evaluate

public Color evaluate(Color v0,
                      Color v1,
                      double fraction)
Specified by:
evaluate in interface org.jdesktop.core.animation.timing.Evaluator<Color>

getEvaluatorClass

public Class<Color> getEvaluatorClass()
Specified by:
getEvaluatorClass in interface org.jdesktop.core.animation.timing.Evaluator<Color>


Copyright © 2011. All Rights Reserved.