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

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


                public Field[] getDataFields(final int modelRowIndex) {
                    final RemoteDevice _remoteDevice =
                            (RemoteDevice) _model.getRow(modelRowIndex);

                    final Field[] fields =
                            { new LabelField(_remoteDevice.toString(),
                                    Field.NON_FOCUSABLE) };
                    return fields;
                }
            };
View Full Code Here


        _seekDownButton = new ButtonField("< Seek");
        _increaseRSSIButton = new ButtonField("RSSI +");
        _decreaseRSSIButton = new ButtonField("- RSSI");
        _playButton = new ButtonField("Play");

        _rssiLabel = new LabelField(_fmRadioDemoPlayer.getRSSI());

        _rdsTextField = new TextField(Field.NON_FOCUSABLE);
        _rdsTextField.setLabel("RDS: ");

        _logTextField = new TextField(Field.NON_FOCUSABLE);
View Full Code Here

            super();

            _index = index;
            _model = model;

            setTitle(new LabelField("View Call Log"));

            if (callLog instanceof PhoneCallLog) {
                final PhoneCallLog phoneCallLog = (PhoneCallLog) callLog;
                _controller = new PhoneCallLogController(phoneCallLog);
            } else {
View Full Code Here

        // to disable image rendering.
        renderingOptions.setProperty(RenderingOptions.CORE_OPTIONS_GUID,
                RenderingOptions.SHOW_IMAGES_IN_HTML, true);

        _mainScreen = new MainScreen();
        _mainScreen.add(new LabelField("Label before the content",
                Field.FOCUSABLE));

        _mainScreen.add(_browserContentManager);

        _mainScreen.add(new LabelField("Label after the content",
                Field.FOCUSABLE));
        pushScreen(_mainScreen);

        final PrimaryResourceFetchThread thread =
                new PrimaryResourceFetchThread("http://mobile.blackberry.com",
View Full Code Here

            super();

            _index = index;
            _model = model;

            setTitle(new LabelField("Edit Call Log"));

            if (callLog instanceof PhoneCallLog) {
                final PhoneCallLog phoneCallLog = (PhoneCallLog) callLog;
                final PhoneCallLog copy = copyPhoneCallLog(phoneCallLog);
                _controller = new PhoneCallLogController(copy);
View Full Code Here

     */
    public SendFireForgetScreen(final CommunicationController controller) {
        setTitle("Fire-and-Forget");

        // Initialize UI components
        final LabelField instructions =
                new LabelField(
                        "Enter a destination URL and send a fire-and-forget message to it. "
                                + "Responses are not processed.",
                        Field.NON_FOCUSABLE);

        _isLocal = new CheckboxField("Local Address ", true);
View Full Code Here

                }

            }
        });

        final LabelField instructions =
                new LabelField(
                        "This screen allows you to set credentials on your request. To test authentication, "
                                + "enter a URL that needs basic authentication and add the username and password parameters to the request.",
                        Field.NON_FOCUSABLE);

        // Add components to screen
View Full Code Here

                        .getText(), _contentField.getText(), _uriReceiverField
                        .getText());
            }
        });

        final LabelField instructions =
                new LabelField(
                        "This test allows you to register for pushes from a content provider. "
                                + "You must enter the URL of the BPS server as well as the content provider URL.",
                        Field.NON_FOCUSABLE);

        // Add components to screen
View Full Code Here

        setTitle("Stream Data Upload");

        _callback = new StreamDataScreenCallback(this);

        // Initialize UI components
        final LabelField instructions = new LabelField("", Field.NON_FOCUSABLE);
        _uriSenderField =
                new EditField("Upload URI:",
                        CommunicationController.ECHO_SERVER_URI + "TEXT", 140,
                        0);
View Full Code Here

     */
    public MenuSendScreen(final MenuManager menuManager) {
        setTitle("Send Messages");

        // Initialize UI components
        _instructions = new LabelField("", Field.NON_FOCUSABLE);

        final FullWidthButton fireForgetSendButton =
                new FullWidthButton("Fire-And-Forget");
        fireForgetSendButton.setChangeListener(new FieldChangeListener() {
            /**
 
View Full Code Here

TOP

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

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.