Package com.mapmidlet.options

Examples of com.mapmidlet.options.Options$NavContext


        setCommandListener(this);
    }

    public void populateList() {
        String[] files = null;
        Options options = Options.getInstance();
        boolean retry = false;

        try {
            files = IOTool.listDir(options.replayDir);
        } catch (IOException io) {
View Full Code Here


    }

    public void commandAction(Command c, Displayable d) {
        String label = c.getLabel();
        if ("Open".equals(label) && getSelectedIndex() >= 0) {
            Options options = Options.getInstance();
            String selectedFile = getString(getSelectedIndex());
            if (getSelectedIndex() == 0 && "..".equals(getString(getSelectedIndex()))) {
                if (options.replayDir.endsWith("/")) {
                    options.replayDir = options.replayDir.substring(0, options.replayDir.length() - 2);
                }
View Full Code Here

TOP

Related Classes of com.mapmidlet.options.Options$NavContext

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.