Package net.rim.device.api.ui

Examples of net.rim.device.api.ui.Adjustment


            final BitmapField field = new BitmapField(bitmap);
            manager.add(field);
        }

        // Initialize Adjustment
        final Adjustment adjustment = manager.getHorizontalAdjustment();
        adjustment.setPageSize(displayWidth);

        // Set page step so that pages must be moved 1/4 of their
        // width for the screen to scroll to the adjacent page.
        adjustment.setPageStep(Display.getWidth() / 4);

        add(manager);
    }
View Full Code Here


         *            An array of Integers representing the values which can be
         *            selected by this field
         */
        MySpinBoxField(final Integer[] choices) {
            super(choices);
            _adjustment = new Adjustment(0, 0, choices.length, 0, 0, 0);
            setChangeListener(this);
        }
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.Adjustment

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.