View Javadoc

1   /*
2    * Copyright (c) 2003, the JUNG Project and the Regents of the University of
3    * California All rights reserved.
4    * 
5    * This software is open-source under the BSD license; see either "license.txt"
6    * or http://jung.sourceforge.net/license.txt for a description.
7    * 
8    */
9   package edu.uci.ics.jung.visualization.control;
10  
11  import java.awt.geom.Point2D;
12  
13  import edu.uci.ics.jung.visualization.VisualizationServer;
14  
15  public interface ScalingControl {
16  
17      /**
18       * zoom the display in or out
19       * @param vv the VisualizationViewer
20       * @param amount how much to adjust scale by
21       * @param at where to adjust scale from
22       */
23      void scale(VisualizationServer<?,?> vv, float amount, Point2D at);
24  
25  }