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

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

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

An evaluator for Dimension2D.

Author:
Chet Haase, Tim Halloran

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

Constructor Detail

EvaluatorDimension2D

public EvaluatorDimension2D()
Method Detail

evaluate

@RegionEffects(value="reads All")
public Dimension2D evaluate(Dimension2D v0,
                                          Dimension2D v1,
                                          double fraction)
Specified by:
evaluate in interface org.jdesktop.core.animation.timing.Evaluator<Dimension2D>

getEvaluatorClass

@RegionEffects(value="none")
public Class<Dimension2D> getEvaluatorClass()
Specified by:
getEvaluatorClass in interface org.jdesktop.core.animation.timing.Evaluator<Dimension2D>


Copyright © 2012. All Rights Reserved.