Package edu.umd.cs.piccolo.event

Examples of edu.umd.cs.piccolo.event.PZoomEventHandler


    myCamera.setPaint(NengoStyle.COLOR_BACKGROUND);

    /*
     * Attach handlers
     */
    PZoomEventHandler zoomHandler = new PZoomEventHandler();
    zoomHandler.setMinDragStartDistance(20);
    zoomHandler.setMinScale(MIN_ZOOM_SCALE);
    zoomHandler.setMaxScale(MAX_ZOOM_SCALE);

    myCamera.addInputEventListener(zoomHandler);

    myCamera.addInputEventListener(new KeyboardFocusHandler());

View Full Code Here

TOP

Related Classes of edu.umd.cs.piccolo.event.PZoomEventHandler

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.