public class CrossoverScalingControl extends java.lang.Object implements ScalingControl
| Modifier and Type | Field and Description |
|---|---|
protected double |
crossover
Point where scale crosses over from view to layout.
|
| Constructor and Description |
|---|
CrossoverScalingControl() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCrossover()
Returns the current crossover value.
|
void |
scale(VisualizationServer<?,?> vv,
float amount,
java.awt.geom.Point2D at)
zoom the display in or out
|
void |
setCrossover(double crossover)
Sets the crossover point to the specified value.
|
protected double crossover
public void setCrossover(double crossover)
public double getCrossover()
public void scale(VisualizationServer<?,?> vv, float amount, java.awt.geom.Point2D at)
ScalingControlscale in interface ScalingControlvv - the VisualizationVieweramount - how much to adjust scale byat - where to adjust scale fromedu.uci.ics.jung.visualization.control.ScalingControl#scale(VisualizationViewer, float, Point2D)