⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 visualmidlet.java

📁 这是一个手机股票系统开发的部分程序
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
     */
    public Command get_okCommand2() {
        if (okCommand2 == null) {
            // Insert pre-init code here
            okCommand2 = new Command("\u547D\u4EE4", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand2;
    }

    /** This method returns instance for okCommand3 component and should be called instead of accessing okCommand3 field directly.
     * @return Instance for okCommand3 component
     */
    public Command get_okCommand3() {
        if (okCommand3 == null) {
            // Insert pre-init code here
            okCommand3 = new Command("\u547D\u4EE4", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand3;
    }

    /** This method returns instance for backCommand3 component and should be called instead of accessing backCommand3 field directly.
     * @return Instance for backCommand3 component
     */
    public Command get_backCommand3() {
        if (backCommand3 == null) {
            // Insert pre-init code here
            backCommand3 = new Command("\u540E\u9000", Command.BACK, 1);
            // Insert post-init code here
        }
        return backCommand3;
    }

    /** This method returns instance for okCommand4 component and should be called instead of accessing okCommand4 field directly.
     * @return Instance for okCommand4 component
     */
    public Command get_okCommand4() {
        if (okCommand4 == null) {
            // Insert pre-init code here
            okCommand4 = new Command("\u786E\u5B9A", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand4;
    }

    /** This method returns instance for ZiXun component and should be called instead of accessing ZiXun field directly.
     * @return Instance for ZiXun component
     */
    public List get_ZiXun() {
        if (ZiXun == null) {
            // Insert pre-init code here
            ZiXun = new List(null, Choice.IMPLICIT, new String[] {
                "1.\u56FD\u9645\u8D22\u7ECF",
                "2.\u70ED\u70B9\u4E13\u9898",
                "3.\u8BC1\u5238\u8981\u95FB",
                "4.\u5927\u76D8\u98CE\u5411"
            }, new Image[] {
                null,
                null,
                null,
                null
            });
            ZiXun.addCommand(get_backCommand4());
            ZiXun.addCommand(get_okCommand5());
            ZiXun.setCommandListener(this);
            ZiXun.setTicker(get_ticker6());
            ZiXun.setSelectedFlags(new boolean[] {
                false,
                false,
                false,
                false
            });
            // Insert post-init code here
        }
        return ZiXun;
    }

    /** This method returns instance for ticker6 component and should be called instead of accessing ticker6 field directly.
     * @return Instance for ticker6 component
     */
    public Ticker get_ticker6() {
        if (ticker6 == null) {
            // Insert pre-init code here
            ticker6 = new Ticker("\u8BC1\u5238\u8D44\u8BAF");
            // Insert post-init code here
        }
        return ticker6;
    }

    /** This method returns instance for backCommand4 component and should be called instead of accessing backCommand4 field directly.
     * @return Instance for backCommand4 component
     */
    public Command get_backCommand4() {
        if (backCommand4 == null) {
            // Insert pre-init code here
            backCommand4 = new Command("\u540E\u9000", Command.BACK, 1);
            // Insert post-init code here
        }
        return backCommand4;
    }

    /** This method returns instance for okCommand5 component and should be called instead of accessing okCommand5 field directly.
     * @return Instance for okCommand5 component
     */
    public Command get_okCommand5() {
        if (okCommand5 == null) {
            // Insert pre-init code here
            okCommand5 = new Command("\u786E\u5B9A", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand5;
    }

    /** This method returns instance for form1 component and should be called instead of accessing form1 field directly.
     * @return Instance for form1 component
     */
    public Form get_form1() {
        if (form1 == null) {
            // Insert pre-init code here
            form1 = new Form(null, new Item[] {
                get_stringItem1(),
                get_stringItem2(),
                get_stringItem3(),
                get_stringItem4()
            });
            form1.addCommand(get_backCommand5());
            form1.addCommand(get_okCommand6());
            form1.setCommandListener(this);
            form1.setTicker(get_ticker7());
            // Insert post-init code here
        }
        return form1;
    }

    /** This method returns instance for ticker7 component and should be called instead of accessing ticker7 field directly.
     * @return Instance for ticker7 component
     */
    public Ticker get_ticker7() {
        if (ticker7 == null) {
            // Insert pre-init code here
            ticker7 = new Ticker("\u7CFB\u7EDF\u5E2E\u52A9");
            // Insert post-init code here
        }
        return ticker7;
    }

    /** This method returns instance for stringItem1 component and should be called instead of accessing stringItem1 field directly.
     * @return Instance for stringItem1 component
     */
    public StringItem get_stringItem1() {
        if (stringItem1 == null) {
            // Insert pre-init code here
            stringItem1 = new StringItem("\u8F6F\u4EF6\u5F00\u53D1:", "\u56DB\u5DDD\u5927\u5B66\u8F6F\u4EF6\u5B66\u966205\u7EA7\u67D0\u67D0");
            // Insert post-init code here
        }
        return stringItem1;
    }

    /** This method returns instance for stringItem2 component and should be called instead of accessing stringItem2 field directly.
     * @return Instance for stringItem2 component
     */
    public StringItem get_stringItem2() {
        if (stringItem2 == null) {
            // Insert pre-init code here
            stringItem2 = new StringItem("\u6A21\u5F0F\u53C2\u8003:", "\u5927\u667A\u6167\u80A1\u7968\u5206\u6790\u8F6F\u4EF6");
            // Insert post-init code here
        }
        return stringItem2;
    }

    /** This method returns instance for stringItem3 component and should be called instead of accessing stringItem3 field directly.
     * @return Instance for stringItem3 component
     */
    public StringItem get_stringItem3() {
        if (stringItem3 == null) {
            // Insert pre-init code here
            stringItem3 = new StringItem("\u7279\u522B\u9E23\u8C22:", "Yohoo\u8D22\u7ECF\u4E13\u9898");
            // Insert post-init code here
        }
        return stringItem3;
    }

    /** This method returns instance for stringItem4 component and should be called instead of accessing stringItem4 field directly.
     * @return Instance for stringItem4 component
     */
    public StringItem get_stringItem4() {
        if (stringItem4 == null) {
            // Insert pre-init code here
            stringItem4 = new StringItem("\u5BA2\u670D\u7535\u8BDD:", "028\uFF0D85995318");
            // Insert post-init code here
        }
        return stringItem4;
    }

    /** This method returns instance for backCommand5 component and should be called instead of accessing backCommand5 field directly.
     * @return Instance for backCommand5 component
     */
    public Command get_backCommand5() {
        if (backCommand5 == null) {
            // Insert pre-init code here
            backCommand5 = new Command("\u540E\u9000", Command.BACK, 1);
            // Insert post-init code here
        }
        return backCommand5;
    }

    /** This method returns instance for okCommand6 component and should be called instead of accessing okCommand6 field directly.
     * @return Instance for okCommand6 component
     */
    public Command get_okCommand6() {
        if (okCommand6 == null) {
            // Insert pre-init code here
            okCommand6 = new Command("\u786E\u5B9A", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand6;
    }

    /** This method returns instance for GuPiaoXiangQing component and should be called instead of accessing GuPiaoXiangQing field directly.
     * @return Instance for GuPiaoXiangQing component
     */
    public List get_GuPiaoXiangQing() {
    	 if (GuPiaoXiangQing == null) {
             // Insert pre-init code here
         	
         	conv=run();
         	GuPiaoXiangQing = new List(null, Choice.IMPLICIT, new String[] {                       
             	conv,
                "以上是您要查询股票的今日行情 ",
                "数据来源于Yahoo财经专题"
             }, new Image[] {
                 null,
                 null,
                 null
             }
         	);
         	GuPiaoXiangQing.addCommand(get_backCommand6());
            GuPiaoXiangQing.addCommand(get_okCommand7());
           	GuPiaoXiangQing.setCommandListener(this);
         	GuPiaoXiangQing.setSelectedFlags(new boolean[] {
                 false,
                 false,
                 false
             });
             // Insert post-init code here
         }
         return GuPiaoXiangQing;
    }

    /** This method returns instance for backCommand6 component and should be called instead of accessing backCommand6 field directly.
     * @return Instance for backCommand6 component
     */
    public Command get_backCommand6() {
        if (backCommand6 == null) {
            // Insert pre-init code here
            backCommand6 = new Command("\u540E\u9000", Command.BACK, 1);
            // Insert post-init code here
        }
        return backCommand6;
    }

    /** This method returns instance for okCommand7 component and should be called instead of accessing okCommand7 field directly.
     * @return Instance for okCommand7 component
     */
    public Command get_okCommand7() {
        if (okCommand7 == null) {
            // Insert pre-init code here
            okCommand7 = new Command("\u786E\u5B9A", Command.OK, 1);
            // Insert post-init code here
        }
        return okCommand7;
    }

    /** This method returns instance for TuXing component and should be called instead of accessing TuXing field directly.
     * @return Instance for TuXing component
     */
    public List get_TuXing() {
        if (TuXing == null) {
            // Insert pre-init code here
            TuXing = new List(null, Choice.IMPLICIT, new String[] {
                "K\u7EBF\u56FE",
                "\u8D70\u52BF\u56FE"
            }, new Image[] {
                null,
                null
            });
            TuXing.addCommand(get_backCommand7());
            TuXing.setCommandListener(this);
            TuXing.setTicker(get_ticker9());
            TuXing.setSelectedFlags(new boolean[] {
                false,
                false
            });
            // Insert post-init code here
        }
        return TuXing;
    }

    /** This method returns instance for ticker8 component and should be called instead of accessing ticker8 field directly.
     * @return Instance for ticker8 component
     */
    public Ticker get_ticker8() {
        if (ticker8 == null) {
            // Insert pre-init code here
            ticker8 = new Ticker("<\u8F93\u5165\u6EDA\u52A8\u6D88\u606F\u6587\u672C>");
            // Insert post-init code here
        }
        return ticker8;
    }

    /** This method returns instance for ticker9 component and should be called instead of accessing ticker9 field directly.
     * @return Instance for ticker9 component
     */
    public Ticker get_ticker9() {
        if (ticker9 == null) {
            // Insert pre-init code here
            ticker9 = new Ticker("\u8BF7\u9009\u62E9\u60F3\u89C2\u770B\u7684\u56FE\u50CF");
            // Insert post-init code here
        }
        return ticker9;
    }

    /** This method returns instance for backCommand7 component and should be called instead of accessing backCommand7 field directly.
     * @return Instance for backCommand7 component
     */
    public Command get_backCommand7() {
        if (backCommand7 == null) {
            // Insert pre-init code here
            backCommand7 = new Command("\u540E\u9000", Command.BACK, 1);
            // Insert post-init code here
        }
        return backCommand7;
    }

    
    public void startApp() {
    }
    
    public void pauseApp() {
    }
    
    public void destroyApp(boolean unconditional) {
    }
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -