edu.uci.ics.jung.visualization.control
Class AbsoluteCrossoverScalingControl

java.lang.Object
  extended by edu.uci.ics.jung.visualization.control.CrossoverScalingControl
      extended by edu.uci.ics.jung.visualization.control.AbsoluteCrossoverScalingControl
All Implemented Interfaces:
ScalingControl

public class AbsoluteCrossoverScalingControl
extends CrossoverScalingControl
implements ScalingControl

scales to the absolute value passed as an argument. It first resets the scaling transformers, then uses the relative CrossoverScalingControl to achieve the absolute value.

Author:
Tom Nelson

Field Summary
 
Fields inherited from class edu.uci.ics.jung.visualization.control.CrossoverScalingControl
crossover
 
Constructor Summary
AbsoluteCrossoverScalingControl()
           
 
Method Summary
 void scale(VisualizationViewer<?,?> vv, float amount, Point2D at)
          scale to the absolute value passed as 'amount'.
 
Methods inherited from class edu.uci.ics.jung.visualization.control.CrossoverScalingControl
getCrossover, scale, setCrossover
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.visualization.control.ScalingControl
scale
 

Constructor Detail

AbsoluteCrossoverScalingControl

public AbsoluteCrossoverScalingControl()
Method Detail

scale

public void scale(VisualizationViewer<?,?> vv,
                  float amount,
                  Point2D at)
scale to the absolute value passed as 'amount'.



Copyright © 2009. All Rights Reserved.