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

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


            final String transportName =
                    TransportInfo.getTransportTypeName(currentTransport);
            final boolean transportAvailable =
                    TransportInfo.isTransportTypeAvailable(currentTransport);
            _availabilityCheckboxes[i] =
                    new CheckboxField(transportName, transportAvailable,
                            Field.NON_FOCUSABLE);
            _availabilityCheckboxes[i].setEnabled(false);
            lVfm.add(_availabilityCheckboxes[i]);
        }

        // Display "Coverage" status for all transports
        rVfm.add(new FixedWidthLabelField("Coverage", halfDisplayWidth));
        for (int i = 0; i < NUM_TRANSPORTS; i++) {
            final int currentTransport = i + 1;
            final String transportName =
                    TransportInfo.getTransportTypeName(currentTransport);
            final boolean coverageAvailable =
                    TransportInfo.hasSufficientCoverage(currentTransport);
            _coverageCheckboxes[i] =
                    new CheckboxField(transportName, coverageAvailable,
                            Field.NON_FOCUSABLE);
            _coverageCheckboxes[i].setEnabled(false);
            rVfm.add(_coverageCheckboxes[i]);
        }
View Full Code Here


        // Set the displayed title of the screen
        setTitle("Colour Control Setter");
        setBackground(BackgroundFactory.createSolidBackground(0x3f3f3f));

        add(new LabelField(""));
        add(colorQueueLocked = new CheckboxField("Lock Color", false));
        colorQueueLocked.setChangeListener(this);

        add(mixer = new ColorMixer(this));
        mixer.setColor(0x7f7f7f);
View Full Code Here

TOP

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

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.