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

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


        _calibrateButton.setChangeListener(this);
        buttonManager.add(_snapshotButton);
        buttonManager.add(_calibrateButton);
        add(buttonManager);

        add(new SeparatorField());

        // Add fields for displaying snapshot data
        _snapshotManager = new VerticalFieldManager();
        _snapshotHeadingField = new TextField("Snapshot heading: ", "");
        _snapshotAngleField = new TextField("Snapshot angle: ", "");
        _snapshotStrengthField = new TextField("Snapshot field strength: ", "");
        _snapshotQualityField =
                new TextField("Snapshot calibration quality: ", "");
        _snapshotQuaternionField = new TextField("Snapshot quaternion: ", "");
        _snapshotManager.add(_snapshotHeadingField);
        _snapshotManager.add(_snapshotAngleField);
        _snapshotManager.add(_snapshotQuaternionField);
        _snapshotManager.add(_snapshotStrengthField);
        _snapshotManager.add(_snapshotQualityField);
        _snapshotManager.setPadding(4, 4, 4, 4);
        add(_snapshotManager);

        add(new SeparatorField());

        // The magnetometer channel will be opened with a sampling
        // frequency of 10 hertz and will be active only when the app
        // is in the foreground. This is the default configuration
        // that would be set automatically if the no arg constructor
View Full Code Here


        add(startButton);
        add(pauseButton);
        add(resumeButton);
        add(releaseButton);
        add(destroyButton);
        add(new SeparatorField());
        add(instructions);
    }
View Full Code Here

        _phoneNumberField =
                new BasicEditField("Phone number: ", "", 15,
                        Field.NON_FOCUSABLE);
        add(_phoneNumberField);

        add(new SeparatorField());

        // Instantiate button fields
        _buttonFieldOne =
                new ButtonField("1", ButtonField.NEVER_DIRTY
                        | ButtonField.CONSUME_CLICK);
View Full Code Here

        setStyle();

        add(new LabelField("BlackBerry Devices", Field.FIELD_HCENTER));

        add(new SeparatorField());

        add(_tableView);

        // Populate the list
        while (deviceData.hasMoreTokens()) {
View Full Code Here

        add(sendMessagesButton);
        add(receiveMessagesButton);
        add(cancelMessagesButton);
        add(authButton);
        add(streamButton);
        add(new SeparatorField());
        add(_instructions);
    }
View Full Code Here

        // Add LabelFeld with on screen info
        add(new LabelField(
                "For the purpose of this demo, mli@rim.com is not an existing contact "
                        + "and jgraham@rim.com is assumed to be an existing contact."));

        add(new SeparatorField());

        // Add new label for email address heading
        final LabelField labelField =
                new LabelField("Email addresses (invoke context menu)");
        add(labelField);

        // Add field for first email address
        final LabelField emailField1 =
                new LabelField("mli@rim.com", Field.FOCUSABLE);
        add(emailField1);

        // Add field for second email address
        final LabelField emailField2 =
                new LabelField("jgraham@rim.com", Field.FOCUSABLE);
        add(emailField2);

        // Set a new CommandItemProvider for email address fields
        final ItemProvider itemProvider = new ItemProvider();
        emailField1.setCommandItemProvider(itemProvider);
        emailField2.setCommandItemProvider(itemProvider);

        add(new SeparatorField());

        // Create ButtonField with command context
        final ButtonField buttonField =
                new ButtonField("Test Button", ButtonField.CONSUME_CLICK
                        | Field.FIELD_HCENTER);
View Full Code Here

        add(_contentField1);
        add(postButton1);
        add(_contentField2);
        add(postButton2);
        add(cancelButton);
        add(new SeparatorField());
        add(messages);
    }
View Full Code Here

                            _horizontalAlignments, 0);
            _regionVerticalAlign =
                    new ObjectChoiceField("Vertical Alignment: ",
                            _verticalAlignments, 0);

            add(new SeparatorField());
            add(_borderStyle);
            add(_regionHorizontalAlign);
            add(_regionVerticalAlign);
        }
View Full Code Here

        // Add components to screen
        add(backButton);
        add(_uriSenderField);
        add(postButton);
        add(new SeparatorField());
        add(instructions);
    }
View Full Code Here

        // Remove existing UI components
        deleteAll();

        // Add all input UI components
        add(_primaryModeField);
        add(new SeparatorField());
        add(_enableGeolocationFallbackField);
        add(new SeparatorField());
        add(_enableConcurrentGeolocationField);
        add(new SeparatorField());
        add(_isVerizonField);
        add(_pdeIPField);
        add(_pdePortField);
        add(new SeparatorField());
        add(_isMapLocationField);
        add(_zoomLevelField);
        add(new SeparatorField());
        add(_preferredResponseTimeField);
        add(new SeparatorField());
        add(_frequencyField);
        add(_timeoutField);
        add(_maxAgeField);
        add(new SeparatorField());
        add(_failOverModeField);
        add(_failOverRetriesField);
        add(_failoverTimeoutField);
        add(new SeparatorField());
        add(_useGPSRestartIntervalField);
        add(_gpsRestartIntervalField);
        add(_gpsRestartRetriesField);
        add(new SeparatorField());
        add(_subsequentModeField);
        add(new SeparatorField());
        add(_isSatelliteInfoRequiredField);
        add(new SeparatorField());
    }
View Full Code Here

TOP

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

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.