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.
  • Constructor Details

    • AbsoluteCrossoverScalingControl

      public AbsoluteCrossoverScalingControl()
  • Method Details

    • scale

      public void scale(VisualizationServer<?,?> 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 VisualizationServer used for rendering; provides the layout and view transformers.
      amount - the amount by which to scale
      at - the point of reference for scaling