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 Functions, then uses the relative CrossoverScalingControl to achieve the absolute value.
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.control.CrossoverScalingControl
crossover
-
-
Constructor Summary
Constructors Constructor Description AbsoluteCrossoverScalingControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scale(VisualizationServer<?,?> vv, float amount, java.awt.geom.Point2D at)
Scale to the absolute value passed as 'amount'.-
Methods inherited from class edu.uci.ics.jung.visualization.control.CrossoverScalingControl
getCrossover, setCrossover
-
-
-
-
Method Detail
-
scale
public void scale(VisualizationServer<?,?> vv, float amount, java.awt.geom.Point2D at)
Scale to the absolute value passed as 'amount'.- Specified by:
scale
in interfaceScalingControl
- Overrides:
scale
in classCrossoverScalingControl
- Parameters:
vv
- the VisualizationServer used for rendering; provides the layout and view transformers.amount
- the amount by which to scaleat
- the point of reference for scaling
-
-