Package y.view

Examples of y.view.MagnifierViewMode


    /**
     * Adds the magnifier button.
     */
    private void addMagnifierButton() {
        final MagnifierViewMode magnifierMode = new MagnifierViewMode();
        magnifierMode.setMagnifierRadius(100);
        magnifierMode.setMagnifierZoomFactor(2.0);
        final JToggleButton magnifierButton = new JToggleButton(
                new ImageIcon(getClass().getResource(IMAGE_PATH + "Zoom16.gif")));
        magnifierButton.setToolTipText("Allows you to zoom into a local area of the graph");
        magnifierButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
View Full Code Here

TOP

Related Classes of y.view.MagnifierViewMode

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.