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

Examples of net.rim.device.api.ui.component.ObjectListField


        _listTitle.setBackground(BackgroundFactory
                .createSolidTransparentBackground(Color.DARKBLUE, 128));
        add(_listTitle);

        // Create list field
        _listField = new ObjectListField();

        // Initialize buttons
        _addButton = new ButtonField("Add Data", ButtonField.CONSUME_CLICK);
        _addFromFileButton =
                new ButtonField("Add From File", ButtonField.CONSUME_CLICK);
View Full Code Here


        Arrays.sort(messages, Util.SORT_BY_MOST_RECENT_DATE);
        System.arraycopy(messages, 0, objectsToDisplay, indexToAddNewObjects,
                messages.length);

        // Set the list field to display the objects gathered in this method
        final ObjectListField objectListField = (ObjectListField) _listField;
        objectListField.set(objectsToDisplay);
    }
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.component.ObjectListField

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.