Package edu.uci.ics.jung.visualization.control

Examples of edu.uci.ics.jung.visualization.control.ViewScalingControl


        DefaultModalGraphMouse gm2 = new DefaultModalGraphMouse() {
            protected void loadPlugins() {
                pickingPlugin = new PickingGraphMousePlugin();
                animatedPickingPlugin = new AnimatedPickingGraphMousePlugin();
                translatingPlugin = new TranslatingGraphMousePlugin(InputEvent.BUTTON1_MASK);
                scalingPlugin = new ScalingGraphMousePlugin(new ViewScalingControl(), 0);
                rotatingPlugin = new RotatingGraphMousePlugin();
                shearingPlugin = new ShearingGraphMousePlugin();

                add(scalingPlugin);
                setMode(Mode.TRANSFORMING);
View Full Code Here


    protected final void unlockGraph() {
        mGraphLock.unlock();
    }

    protected final ViewScalingControl getScalingControl() {
        return new ViewScalingControl() {
            void superScale(final VisualizationServer thisVV, final float amount, final Point2D from) {
                super.scale(thisVV, amount, from);
            }

            @Override
View Full Code Here

TOP

Related Classes of edu.uci.ics.jung.visualization.control.ViewScalingControl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.