Package edu.uci.ics.jung.visualization.transform

Examples of edu.uci.ics.jung.visualization.transform.MutableAffineTransformer


        AffineTransform modelLayoutTransform =
            new AffineTransform(master.getRenderContext().getMultiLayerTransformer().getTransformer(Layer.LAYOUT).getTransform());
       
        // I want no layout transformations in the satellite view
        // this resets the auto-scaling that occurs in the super constructor
        getRenderContext().getMultiLayerTransformer().setTransformer(Layer.LAYOUT, new MutableAffineTransformer(modelLayoutTransform));
       
        // make sure the satellite listens for changes in the master
        master.addChangeListener(this);
       
        // share the picked state of the master
View Full Code Here


     * create an instance, setting values from the passed component
     * and registering to listen for size changes on the component
     * @param component
     */
    public PerspectiveTransformer(PerspectiveTransform perspectiveTransform) {
        this(perspectiveTransform, new MutableAffineTransformer());
    }
View Full Code Here

TOP

Related Classes of edu.uci.ics.jung.visualization.transform.MutableAffineTransformer

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.