Package javax.microedition.lcdui

Examples of javax.microedition.lcdui.List


    resetCommand = new Command( "Reset Level", Command.SCREEN, 4 );
    nextCommand = new Command( "Next Level (#)", Command.SCREEN, 5 );
    randomCommand = new Command( "Random Level (*)", Command.SCREEN, 6 );
    clearCommand = new Command( "Clear Game Data", Command.SCREEN, 7 );
    helpCommand = new Command( "Help", Command.SCREEN, 8 );
    gameList = new List( "Select Game", List.IMPLICIT, games, null );
    gameList.addCommand( backCommand );
    gameList.setCommandListener( this );
    warehouseCanvas = new WarehouseCanvas( "/warehouse/levels/" + games[ 0 ] + ".lev" )
    helpForm = new Form( "Warehouse", new Item[] {
      new StringItem( "About: ", "A Sokoban clone, " +
View Full Code Here


      e.printStackTrace();
    }
    this.d = d;
    c2 = new Command("Edit", Command.BACK, 0);
    c1 = new Command("Close client", Command.BACK, 1);
    l = new List("Profile list", List.IMPLICIT);
    l.addCommand(c1);
    l.addCommand(c2);
    l.append("Add new...", RosterItem.offline);
    try {
      jps = new Vector();
View Full Code Here

    public ClientConnection(BTMIDlet bTMIDlet) {
        this.bTMIDlet = bTMIDlet;
        backCommand = new Command("Back", Command.BACK, 1);
        display = bTMIDlet.getDisplay();
        waitingForm = new WaitingForm("Proszę czekać...");
        discoveredList = new List("Dostępne urządzenia:", List.IMPLICIT);
        discoveredList.addCommand(backCommand);
        discoveredList.setCommandListener(this);
        discoveredDevices = new Vector();
        discoveredServices = new Vector();
        initBT();
View Full Code Here

    public BTMIDlet() {
        //selectCommand = new Command("Select", Command.SCREEN, 1);
        exitCommand = new Command("Exit", Command.EXIT, 1);

        menuList = new List("Menu", List.IMPLICIT);
        menuList.append("Wyszukaj urzadzenia", null);
        menuList.append("Wyjście", null);
        multiplayerSelection = new MultiplayerSelection(this);

        //menuList.addCommand(selectCommand);
View Full Code Here

  }

  private void displayFileList(FileList fileList)
  {
    this.fileList = fileList;
    this.fileListControl = new List(fileList.caption, List.IMPLICIT, fileList.names, null);
    fileListControl.addCommand(selectCommand);
    fileListControl.addCommand(exitCommand);
    fileListControl.setCommandListener(this);
    Display.getDisplay(this).setCurrent(fileListControl);
  }
View Full Code Here

        }
        is.close();
        asap.load(filename, module, module_len);
        int songs = asap.getModuleInfo().songs;
        if (songs > 1) {
          songListControl = new List(asap.getModuleInfo().name, List.IMPLICIT);
          for (int i = 1; i <= songs; i++)
            songListControl.append("Song " + i, null);
          songListControl.setSelectedIndex(asap.getModuleInfo().default_song, true);
          songListControl.addCommand(selectCommand);
          songListControl.addCommand(backCommand);
View Full Code Here

      }
    });
    pages.put("mucus-editor", new LazyInit() {
      public Page create() {
        return new Page(new MucusListModel(NFPControler.this),
            new List("${mucusRegistry}", List.IMPLICIT,  new String[0], null));
      }
    });
    pages.put("edit-mucus", new LazyInit() {
      public Page create() {
        return new Page(new MucusEditorModel(), new MucusEditorView());           
View Full Code Here

                    parent.installList =
                        SuiteDownloadInfo.getDownloadInfoFromPage(in);

                    if (parent.installList.size() > 0) {
                        parent.installListBox =
                            new List(Resource.getString
                                     (ResourceConstants.
                                      AMS_DISC_APP_SELECT_INSTALL),
                                     Choice.IMPLICIT);

                        // Add each suite
View Full Code Here

    private List getRecentContactsList()
    {
        if(recentContacts == null)
        {
            recentContacts = new List("Recent Contacts", List.IMPLICIT);
            recentContacts.addCommand(getOKCmd());
            recentContacts.addCommand(getBackCmd());
            recentContacts.setSelectCommand(OKCmd);
            recentContacts.setCommandListener(this);
        }
View Full Code Here

    private List getErrorList()
    {
        if(errorForm == null)
        {
            errorForm = new List("Errors", Choice.IMPLICIT);
            errorForm.addCommand(OKCmd);
            errorForm.addCommand(getClearCmd());
            errorForm.addCommand(backCmd);
            errorForm.setSelectCommand(OKCmd);
            errorForm.setCommandListener(this);
View Full Code Here

TOP

Related Classes of javax.microedition.lcdui.List

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.