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

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


             *      Object)
             */
            public void execute(final ReadOnlyCommandMetadata metadata,
                    final Object context) {
                ClientScreen.this.deleteAll();
                _statusField = new RichTextField();
                ClientScreen.this.add(_statusField);
                try {
                    final UUID[] uuidSet = { new UUID(_uuid) };
                    final int[] attrSet = { 0x0100 };
                    final RemoteDevice _remoteDevice =
View Full Code Here


            final Field svgField = (Field) animator.getTargetComponent();

            add(svgField);
            animator.play();
        } catch (final IOException e) {
            add(new RichTextField("Could not load the svg file: " + e));
        }
    }
View Full Code Here

     *            Time of the event associated with this screen
     */
    public EventScreen(final LinkableContact linkableContact, final String time) {
        // Initialize UI
        setTitle(linkableContact.getString(LinkableContact.NAME));
        final RichTextField testField = new RichTextField();
        testField.setText("Tested at " + time);
        add(new SeparatorField());
        add(testField);
    }
View Full Code Here

    /**
     * Creates a new MMSDemoServerScreen object
     */
    public MMSDemoReceiveScreen() {
        setTitle("MMS Demo");
        _statusField = new RichTextField("Waiting...");
        add(_statusField);
        add(new SeparatorField());
        _subjectField = new BasicEditField("Subject: ", "");
        add(_subjectField);
        _messageField = new BasicEditField("Message: ", "");
View Full Code Here

         * @param message
         *            the message to display; may be null.
         */
        public StatusScreen(final String message) {
            super(new VerticalFieldManager());
            this.add(new RichTextField(message));
        }
View Full Code Here

            compCanvas.add(_glField, 100, 100);

            // Add the ComponentCanvas to the screen
            add(compCanvas);
        } else {
            add(new RichTextField("Error connecting to camera"));
        }
    }
View Full Code Here

        _inputField = new EditField("Text: ", "");
        screen.add(_inputField);
        screen.add(new SeparatorField());

        _statusField =
                new RichTextField(
                        "Select 'Go' from the menu to perform the test.");
        screen.add(_statusField);

        // Add the menu item
        final MenuItem go = new MenuItem(new StringProvider("Go"), 0x230010, 0);
View Full Code Here

     * Creates a new EmbeddedMediaScreen object
     */
    EmbeddedMediaScreen() {
        setTitle("Embedded Media Demo");

        _statusField = new RichTextField("Loading media, please wait...");
        add(_statusField);

        UiApplication.getUiApplication().invokeLater(new Runnable() {
            public void run() {
                initializeMedia();
View Full Code Here

            public void fieldChanged(final Field field, final int context) {
                controller.testCancelAllCancellable();
            }
        });

        final RichTextField messages =
                new RichTextField(
                        "Cancel All Cancellable tries to send four different messages with different"
                                + " cancellation options set on them and cancels them all.",
                        Field.NON_FOCUSABLE);

        // Add components to screen
View Full Code Here

                Display.getWidth()));
        dataTemplate.setRowProperties(0, new TemplateRowProperties(32));
        _view.setDataTemplate(dataTemplate);
        dataTemplate.useFixedHeight(true);

        add(new RichTextField("Attendees:", Field.NON_FOCUSABLE));
        add(_view);

    }
View Full Code Here

TOP

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

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.