Package displayables

Examples of displayables.DirectoryList


    case 1:
      List p = (List) Display.getDisplay(m).getCurrent();
      int i = p.getSelectedIndex();
      String path = p.getString(i);
      if (!(path.endsWith(".mp3") || path.endsWith(".txt"))) {
        DirectoryList fileList;
        if (q != 0) {
          String title = p.getTitle();
          fileList = new DirectoryList(title + path);
          currentPath = title + path;
        } else {
          fileList = new DirectoryList("file:///" + path);
          currentPath = "file:///" + path;
        }
        Display.getDisplay(m).setCurrent(fileList);
        fileList.setCommandListener(this);
        fileList.addCommand(backCommand);
        fileList.addCommand(editTagCommand);
        break;
      }

    case 2:
      List l = (List) Display.getDisplay(m).getCurrent();
View Full Code Here

TOP

Related Classes of displayables.DirectoryList

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.