Package net.rim.device.api.ui.container

Examples of net.rim.device.api.ui.container.PopupScreen


      } else{
        statusField.setText("Last known location not available! Please acquire a single location or a tracking session first.");
      }
    } else if(field==satellitesField){
      if(location!=null){
        final PopupScreen satPopup = new PopupScreen(new VerticalFieldManager()){

          protected boolean keyDown(int keycode, int time) {
            int key = Keypad.key(keycode);
            if(key==Keypad.KEY_ESCAPE){
              Screen screen = getScreen();                                     
              UiApplication.getUiApplication().popScreen(screen);             
            }
            return true;
          }         
        };
        EditField satField = new EditField("", "");
        satPopup.add(satField);
        StringBuffer buffer = new StringBuffer();
        Enumeration satEnum = location.getSatelliteInfo();
        if(satEnum!=null && satEnum.hasMoreElements()){
          buffer.append("ID\tAzimuth\tElevation\tSignal\n");
          while(satEnum.hasMoreElements()){
View Full Code Here


                    final Object context) {
                if (_testField.getText().length() == 0) {
                    Dialog.alert("Test field cannot be empty");
                } else {
                    final VerticalFieldManager vfm = new VerticalFieldManager();
                    _popUp = new PopupScreen(vfm);
                    final LabelField popUpLabel =
                            new LabelField("Correction for "
                                    + _testField.getText() + ":");
                    _correction = new EditField();
                    _popUp.add(popUpLabel);
View Full Code Here

             *      Object)
             */
            public void execute(final ReadOnlyCommandMetadata metadata,
                    final Object context) {
                final VerticalFieldManager vfm = new VerticalFieldManager();
                _popUp = new PopupScreen(vfm);
                _addAttendeeField = new EditField("Enter Name: ", "");
                _popUp.add(_addAttendeeField);
                final HorizontalFieldManager hfm =
                        new HorizontalFieldManager(Field.FIELD_HCENTER);
                hfm.add(new AddButton());
View Full Code Here

            // Make sure that step size is at least one
            _stepSize = Math.max(_max / 100, 1);

            _manager = new DialogFieldManager();
            _popupScreen = new PopupScreen(_manager);
            _gaugeField = new GaugeField(null, 0, max, 0, GaugeField.PERCENT);
            _lbfield = new LabelField(title, Field.USE_ALL_WIDTH);

            _manager.addCustomField(_lbfield);
            _manager.addCustomField(_gaugeField);
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.container.PopupScreen

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.