edu.uci.ics.jung.visualization.control
Class AbsoluteCrossoverScalingControl
java.lang.Object
edu.uci.ics.jung.visualization.control.CrossoverScalingControl
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
abolute value.
- Author:
- Tom Nelson - RABA Technologies
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsoluteCrossoverScalingControl
public AbsoluteCrossoverScalingControl()
scale
public void scale(VisualizationViewer vv,
float amount,
Point2D at)
- scale to the absolute value passed as 'amount'.
- Specified by:
scale
in interface ScalingControl
- Overrides:
scale
in class CrossoverScalingControl
- Parameters:
vv
- the VisualizationVieweramount
- how much to adjust scale byat
- where to adjust scale from- See Also:
ScalingControl.scale(VisualizationViewer, float, Point2D)