Package net.rim.device.api.ui.component.table

Examples of net.rim.device.api.ui.component.table.SimpleList


        // Get this screen's main manager (VerticalFieldManager)
        final Manager mainManager = getMainManager();

        // Instantiate the SimpleList
        final SimpleList simpleList = new SimpleList(mainManager);

        // Iterate over the string and add comma delimited strings to the list
        while (deviceData.hasMoreTokens()) {
            deviceData.nextToken(); // Consume unwanted input
            final String modelName = deviceData.nextToken().trim();
            deviceData.nextToken();
            deviceData.nextToken();
            deviceData.nextToken();

            simpleList.add(modelName);
        }
    }
View Full Code Here


        final DemoVerticalFieldManager vfm =
                new DemoVerticalFieldManager(Manager.NO_VERTICAL_SCROLL);

        // Create a SimpleList to display the available image names
        _picturesList = new SimpleList(vfm);

        for (int i = 0; i < _pictureFileNames.size(); i++) {
            _picturesList.add((String) _pictureFileNames.elementAt(i));
        }
View Full Code Here

            final DemoVerticalFieldManager vfm =
                    new DemoVerticalFieldManager(Manager.NO_VERTICAL_SCROLL);

            add(vfm);

            _list = new SimpleList(vfm);

            for (int i = 0; i < _pictureDirectoryURLs.size(); i++) {
                _list.add((String) _pictureDirectoryURLs.elementAt(i));
            }
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.component.table.SimpleList

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.