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

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


            // Initialize font family and menu font
            _fontFamilies = FontFamily.getFontFamilies();
            _menuFont = _fontFamilies[0].getFont(FontFamily.SCALABLE_FONT, 20);

            // Initialize radio buttons for menu customization and add to screen
            final RadioButtonGroup radioButtonGroup = new RadioButtonGroup();
            _radioButtonImage =
                    new RadioButtonField("Menu with image", radioButtonGroup,
                            true);
            _radioButtonSubMenu =
                    new RadioButtonField("Menu with sub menu",
View Full Code Here


         */
        public ImageEffectDialog(final String effect) {
            super(new VerticalFieldManager());

            // Create radio buttons for the image effect choices
            _options = new RadioButtonGroup();
            final RadioButtonField none =
                    new RadioButtonField("None", _options, effect == null);
            final RadioButtonField greyscale =
                    new RadioButtonField("Greyscale", _options,
                            (effect != null && effect.equals("monochrome")));
View Full Code Here

     */
    public EncodingPropertiesScreen(
            final EncodingProperties[] encodingProperties,
            final CameraScreen parentScreen, final int currentSelectedIndex) {
        _parentScreen = parentScreen;
        _radioButtonGroup = new RadioButtonGroup();
        for (int i = 0; i < encodingProperties.length; i++) {
            final RadioButtonField buttonField =
                    new RadioButtonField(encodingProperties[i].toString());
            _radioButtonGroup.add(buttonField);
            this.add(buttonField);
View Full Code Here

TOP

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

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.