Examples of addKeyboardBehavior()


Examples of visad.java3d.DisplayRendererJ3D.addKeyboardBehavior()

        KeyEvent.VK_MINUS, 0);
    keyBehavior.mapKeyToFunction(KeyboardBehavior.ZOOM_IN, KeyEvent.VK_ADD,
        0);
    keyBehavior.mapKeyToFunction(KeyboardBehavior.ZOOM_OUT,
        KeyEvent.VK_SUBTRACT, 0);
    dRenderer.addKeyboardBehavior(keyBehavior);

    // Set text control properties.
    final TextControl textControl = (TextControl) annotationMap
        .getControl();
    textControl.setCenter(true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.