Package net.rim.device.api.ui.extension.component.PictureScrollField

Examples of net.rim.device.api.ui.extension.component.PictureScrollField.ScrollEntry


        _bitmaps[3] = Bitmap.getBitmapResource("building.jpg");

        // Initialize an array of scroll entries
        final ScrollEntry[] entries = new ScrollEntry[NUM_ENTRIES];
        entries[0] =
                new ScrollEntry(_bitmaps[0], "BlackBerry", CALL_OUT_TEXT + 1);
        entries[1] =
                new ScrollEntry(_bitmaps[1], "Blue logo", CALL_OUT_TEXT + 2);
        entries[2] =
                new ScrollEntry(_bitmaps[2], "Black logo", CALL_OUT_TEXT + 3);
        entries[3] =
                new ScrollEntry(_bitmaps[3], "Building", CALL_OUT_TEXT + 4);

        // Initialize the picture scroll field
        _pictureScrollField = new PictureScrollField(150, 100);
        _pictureScrollField.setData(entries, 0);
        _pictureScrollField.setHighlightStyle(HighlightStyle.ILLUMINATE);
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.extension.component.PictureScrollField.ScrollEntry

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.