Coverage details for edu.uci.ics.jung.visualization.control.ModalSatelliteGraphMouse

LineHitsSource
1 /*
2  * Copyright (c) 2005, 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  * Created on Aug 26, 2005
9  */
10  
11 package edu.uci.ics.jung.visualization.control;
12  
13 import java.awt.event.InputEvent;
14 /**
15  *
16  * @author Tom Nelson - RABA Technologies
17  *
18  */
19 public class ModalSatelliteGraphMouse extends DefaultModalGraphMouse implements
20         ModalGraphMouse {
21  
22     public ModalSatelliteGraphMouse() {
230        this(1.1f, 1/1.1f);
240    }
25  
26     public ModalSatelliteGraphMouse(float in, float out) {
270        super(in, out);
280    }
29     
30     protected void loadPlugins() {
310        pickingPlugin = new PickingGraphMousePlugin();
320        animatedPickingPlugin = new SatelliteAnimatedPickingGraphMousePlugin();
330        translatingPlugin = new SatelliteTranslatingGraphMousePlugin(InputEvent.BUTTON1_MASK);
340        scalingPlugin = new SatelliteScalingGraphMousePlugin(new CrossoverScalingControl(), 0);
350        rotatingPlugin = new SatelliteRotatingGraphMousePlugin();
360        shearingPlugin = new SatelliteShearingGraphMousePlugin();
37         
380        add(scalingPlugin);
39         
400        setMode(Mode.TRANSFORMING);
410    }
42 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.