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

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


                    new RadioButtonField("Sepia", _options,
                            (effect != null && effect.equals("sepia")));

            // Add fields to the dialog
            add(new RichTextField("Choose Effect", Field.NON_FOCUSABLE));
            add(new SeparatorField());
            add(none);
            add(greyscale);
            add(sepia);
        }
View Full Code Here


                        final Bitmap bitmap = Bitmap.getBitmapResource(IMAGE);
                        if (bitmap != null) {
                            final BitmapField bitmapField =
                                    new BitmapField(bitmap);
                            phoneScreen.add(bitmapField);
                            phoneScreen.add(new SeparatorField());
                        }
                    }
                }
            }
View Full Code Here

        final VerticalFieldManager vfm =
                new VerticalFieldManager(Manager.VERTICAL_SCROLL);

        vfm.add(new LabelField("Mime type: "));
        vfm.add(new LabelField(ACCEPT[0]));
        vfm.add(new SeparatorField());
        vfm.add(new LabelField("Content of the resource file: \n"));
        vfm.add(new SeparatorField());

        InputStream in = null;
        try {
            in = context.getInputStream();
            if (in == null) {
View Full Code Here

                        final Bitmap bitmap = Bitmap.getBitmapResource(IMAGE);
                        if (bitmap != null) {
                            final BitmapField bitmapField =
                                    new BitmapField(bitmap);
                            phoneScreen.add(bitmapField);
                            phoneScreen.add(new SeparatorField());
                        }
                    }
                }
            }
View Full Code Here

        _uiApp = (BlackBerryBalanceDemo) UiApplication.getUiApplication();

        _nameField = new EditField("Title: ", _memo.getField(Memo.MEMO_NAME));
        add(_nameField);

        add(new SeparatorField());

        _contentField = new EditField("", _memo.getField(Memo.MEMO_CONTENT));
        add(_contentField);

        // Menu item to save the displayed memo
View Full Code Here

                            new EditField("Invite: ", name,
                                    TextField.DEFAULT_MAXCHARS, Field.READONLY);

                    if (_invitees.isEmpty()) // Add a separator to screen.
                    {
                        insert(new SeparatorField(), getFieldCount());
                    }

                    // Store contact for email retrieval.
                    _invitees.addElement(contact);
                    insert(newField, getFieldCount());
                }
            }
        }));
        setTitle("PIM Demo");

        _subject = new EditField("Subject: ", "");
        add(_subject);

        _location = new EditField("Location: ", "");
        add(_location);

        final long currentTime = System.currentTimeMillis();
        _startTime =
                new DateField("Start: ", currentTime + 3600000,
                        DateField.DATE_TIME);
        _endTime =
                new DateField("End: ", currentTime + 7200000,
                        DateField.DATE_TIME);

        add(new SeparatorField());

        add(_startTime);
        add(_endTime);

        add(new SeparatorField());

        _desc = new EditField("Description: ", "");
        add(_desc);

        add(new SeparatorField());
        final String choices[] =
                { "None", "Daily", "Weekly", "Monthly", "Yearly" };
        _recur = new ObjectChoiceField("Recurrence: ", choices, 0);
        add(_recur);
View Full Code Here

            }
        }));

        add(vfm);

        final SeparatorField separator = new SeparatorField();
        separator.setPadding(50, 0, 0, 0);
        add(separator);
        add(new LabelField("Add shortcut to the home screen",
                Field.FIELD_HCENTER));
        add(new SeparatorField());

        _homeScreenLocationPicker = HomeScreenLocationPicker.create();
        add(_homeScreenLocationPicker);

        // Create a button to add a shortcut to this screen on the home screen
View Full Code Here

        verticalFieldManager.add(_frequencyTextField);
        verticalFieldManager.add(horizontalFieldManager1);
        verticalFieldManager.add(horizontalFieldManager2);
        verticalFieldManager.add(horizontalFieldManager3);
        verticalFieldManager.add(horizontalFieldManager4);
        verticalFieldManager.add(new SeparatorField());
        verticalFieldManager.add(_rdsTextField);
        verticalFieldManager.add(_logTextField);

        add(verticalFieldManager);
    }
View Full Code Here

        add(backButton);
        add(_isLocal);
        add(_pathField);
        add(_uriSenderField);
        add(postButton);
        add(new SeparatorField());
        add(instructions);
    }
View Full Code Here

    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

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.