亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? dictionary.java

?? J2ME MIDP_Example_Applications
?? JAVA
字號:
// Copyright 2003 Nokia Corporation.//// THIS SOURCE CODE IS PROVIDED 'AS IS', WITH NO WARRANTIES WHATSOEVER,// EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS// FOR ANY PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE// OR TRADE PRACTICE, RELATING TO THE SOURCE CODE OR ANY WARRANTY OTHERWISE// ARISING OUT OF ANY PROPOSAL, SPECIFICATION, OR SAMPLE AND WITH NO// OBLIGATION OF NOKIA TO PROVIDE THE LICENSEE WITH ANY MAINTENANCE OR// SUPPORT. FURTHERMORE, NOKIA MAKES NO WARRANTY THAT EXERCISE OF THE// RIGHTS GRANTED HEREUNDER DOES NOT INFRINGE OR MAY NOT CAUSE INFRINGEMENT// OF ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OWNED OR CONTROLLED// BY THIRD PARTIES//// Furthermore, information provided in this source code is preliminary,// and may be changed substantially prior to final release. Nokia Corporation// retains the right to make changes to this source code at// any time, without notice. This source code is provided for informational// purposes only.//// Nokia and Nokia Connecting People are registered trademarks of Nokia// Corporation.// Java and all Java-based marks are trademarks or registered trademarks of// Sun Microsystems, Inc.// Other product and company names mentioned herein may be trademarks or// trade names of their respective owners.//// A non-exclusive, non-transferable, worldwide, limited license is hereby// granted to the Licensee to download, print, reproduce and modify the// source code. The licensee has the right to market, sell, distribute and// make available the source code in original or modified form only when// incorporated into the programs developed by the Licensee. No other// license, express or implied, by estoppel or otherwise, to any other// intellectual property rights is granted herein.import javax.microedition.lcdui.*;// This class maps integer id's to Strings used in the user interface// screens of the MIDlet. It is meant as a simple placeholder for// internationalization support.//// Currently, the default (and only) language supported is "en-US".// The class could be extended to support other mappings in the future,// although it currently supports just one.//// (Note: A few simple strings used in CloseableCanvas like ":", "(", ")",// numeric strings, and white space like " " or "\n" are not translated// by the Dictionary. If those would need internationalization support,// then appropriate support would need to be added.)class Dictionary{    // The types of strings used in the MIDlet user interface are:    //   LABEL : short text labels used in simple UI elements like    //           Commands, List StringItems, etc.    //    TEXT : text strings that are 'contents' of some screen, i.e. drawn    //           in the game screen or used in the instructions screen    private static short ix = 0;    final static short LABEL_ABOUT = ix++;    final static short LABEL_BACK = ix++;    final static short LABEL_CONTINUE = ix++;    final static short LABEL_EDIT = ix++;    final static short LABEL_EXIT = ix++;    final static short LABEL_INSTRUCTIONS = ix++;    final static short LABEL_NEWGAME = ix++;    final static short LABEL_MODIFY = ix++;    final static short LABEL_OFF = ix++;    final static short LABEL_ON = ix++;    final static short LABEL_SETTINGS = ix++;    final static short LABEL_SOUND = ix++;    final static short LABEL_VERSION = ix++;    final static short LABEL_VIBRATION = ix++;    final static short TEXT_GAME_BASE_DESTROYED = ix++;    final static short TEXT_GAME_BLOCKS = ix++;    final static short TEXT_GAME_QUIT_PROMPT = ix++;    final static short TEXT_GAME_RESUME_PROMPT = ix++;    final static short TEXT_GAME_LIVES = ix++;    final static short TEXT_GAME_YOU = ix++;    final static short TEXT_GAME_YOU_WON = ix++;    final static short TEXT_GAME_YOU_LOST = ix++;    final static short TEXT_INSTRUCTIONS = ix++;    final static short TEXT_INSTRUCTIONS_GAUGE = ix++;    final static short NUM_IDS = ix;    private static Dictionary instance = null;    private String[] strings;    Dictionary(String locale, String encoding)    {        // If you decide to add additional internationalization support,        // you would need to modify this method, something like this:        //    if (locale.equals("xx-YY"))        //    {        //        strings = stringsXxYY();        //    }        //    else if (locale.startsWith("zz"))        //    {        //        // e.g. might keep the strings a in .dat resource file        //        strings = stringsZz();        //    }        //    else        //    {        //        strings = stringsEnUS(); // use default language        //    }        //        // The strings returned by the 'stringsXxYy()' internationalization        // methods could be defined at compile-time, as in the default        // method stringsEnUs(), or at run-time.        //        // Run-time support would involve reading the strings        // from appropriate resource files added to the MIDlet's .jar file.        // (e.g. "en-UK.dat", "en.dat", "fi-FI.dat", "fi-SE.dat", etc.)        // Such an approach would allow one to separate the process        // of internationalizing strings from the process of compiling the        // MIDlet. (Determining which .dat files are part of a particular        // version of a MIDlet's .jar file, would be part of the        // MIDlet jarring and deployment process.) You may also need        // to used fixed dictionary entry ID's above.        // The only language currently supported is the default one: "us-EN".        strings = stringsEnUS();    }    private String[] stringsEnUS()    {        // USA English strings        String[] strArray = new String[NUM_IDS];        // Labels        strArray[LABEL_ABOUT] = "About";        strArray[LABEL_BACK] = "Back";        strArray[LABEL_CONTINUE] = "Continue";        strArray[LABEL_EDIT] = "Edit";        strArray[LABEL_EXIT] = "Exit";        strArray[LABEL_INSTRUCTIONS] = "Instructions";        strArray[LABEL_MODIFY] = "Modify";        strArray[LABEL_NEWGAME] = "New game";        strArray[LABEL_OFF] = "off";        strArray[LABEL_ON] = "on";        strArray[LABEL_SETTINGS] = "Settings";        strArray[LABEL_SOUND] = "Sound";        strArray[LABEL_VERSION] = "Version";        strArray[LABEL_VIBRATION] = "Vibration";        // Game screen text strings        strArray[TEXT_GAME_BASE_DESTROYED] = "Base destroyed!";        strArray[TEXT_GAME_BLOCKS] = "Blocks";        strArray[TEXT_GAME_LIVES] = "lives";        strArray[TEXT_GAME_RESUME_PROMPT] = "Press a key to resume";        strArray[TEXT_GAME_QUIT_PROMPT] = "Use softkey to quit";        strArray[TEXT_GAME_YOU] = "You";        strArray[TEXT_GAME_YOU_WON] = "You won!";        strArray[TEXT_GAME_YOU_LOST] = "You lost";        // Instructions screen text strings        Canvas c = new CloseableCanvas("");        String up = c.getKeyName(c.getKeyCode(Canvas.UP));        String down = c.getKeyName(c.getKeyCode(Canvas.DOWN));        String left = c.getKeyName(c.getKeyCode(Canvas.LEFT));        String right = c.getKeyName(c.getKeyCode(Canvas.RIGHT));        String fire = c.getKeyName(c.getKeyCode(Canvas.FIRE));        strArray[TEXT_INSTRUCTIONS] =            // Describe game's objective and how to play:            "The objective of the game is for you to get " +            GameManager.GAME_OVER_SCORE +            " points before the blocks do. " +            "Destroying blocks earns you points. " +            "The blocks get points for flying off the screen, " +            "and extra points for hitting or destroying the base.\n\n" +            // Describe block's point values:            "Not all blocks are equally easy to destroy. " +            "The blocks increase in difficulty (and points value) " +            "as follows: empty dark, single white diagonal line, " +            "double white diagonal lines, empty white, " +            "single black diagonal line, " +            "and double black diagonal lines.\n\n" +            "Your score and remaining lives are shown in the upper left " +            "hand corner of the screen. The blocks' score is shown in the " +            "lower right hand corner of the screen. The blocks can win by " +            "scoring " + GameManager.GAME_OVER_SCORE + " points before " +            "you do, or by destroying your base until you have no lives " +            "left.\n\n" +            // Describe keypad usage:            "The default keys to use for the " +            "up, down, left, right and fire game actions are: " +            up + ", " + down + ", " + left + ", " + right + ", and " + fire +            " respectively. This can vary in different phone models.\n\n" +            // Describe softkey usage:            "In the game screen, pressing an appropriate softkey causes " +            "the game to pause. Use '" + strArray[LABEL_CONTINUE] +            "' to return to the game in progress. " +            "Game play will resume when you press a non-softkey.\n\n";        strArray[TEXT_INSTRUCTIONS_GAUGE] =            // Describe gauge            "A gauge may sometimes be shown in the upper right " +            "corner of the screen. " +            "It is used to indicate when the base's laser cannon is " +            "overheating. The cannon may overheat if you continuously " +            "hold down the game's 'fire' button for too long. " +            "When this occurs, the cannon can not be fired again, " +            "until it has cooled down (i.e. until the gauge empties).";        return strArray;    }    String getString(int id)    {        if ((id >= 0) && (id < strings.length))        {            return strings[id];        }        else        {            throw new IllegalArgumentException("id=" + id +                " is out of bounds. max=" + strings.length);        }    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色网站导航| 国产成a人亚洲精品| 欧美色区777第一页| 亚洲一区二区成人在线观看| 欧美日韩小视频| 日韩电影在线一区| 日韩视频免费观看高清完整版在线观看| 亚洲国产成人av网| 欧美电影免费观看完整版 | 亚洲一区二区五区| 欧美三级日本三级少妇99| 亚洲第一精品在线| 精品国产三级电影在线观看| 懂色av一区二区夜夜嗨| 亚洲婷婷综合色高清在线| 欧美三电影在线| 精品综合免费视频观看| 国产精品久久一级| 欧美天堂一区二区三区| 韩国三级中文字幕hd久久精品| 日本一区二区在线不卡| 欧美在线小视频| 久久99九九99精品| 成人欧美一区二区三区视频网页| 欧美军同video69gay| 国产精品一区二区在线播放| 亚洲青青青在线视频| 日韩亚洲欧美在线观看| 成人av在线影院| 亚洲午夜视频在线| 国产无一区二区| 欧美日韩综合不卡| 国v精品久久久网| 日本亚洲一区二区| 亚洲欧洲美洲综合色网| 制服丝袜中文字幕一区| 成人av动漫网站| 麻豆专区一区二区三区四区五区| 17c精品麻豆一区二区免费| 日韩一区国产二区欧美三区| 一本大道久久a久久综合婷婷| 久久丁香综合五月国产三级网站| 亚洲伦理在线精品| 亚洲国产精品二十页| 欧美一区二区三区成人| 欧洲另类一二三四区| 懂色av一区二区三区蜜臀| 三级欧美韩日大片在线看| 中文字幕亚洲精品在线观看| 欧美tickling网站挠脚心| 欧美日韩一级片网站| aa级大片欧美| 成人免费毛片a| 九九视频精品免费| 天天av天天翘天天综合网 | 1区2区3区欧美| 国产亚洲制服色| 日韩欧美一区二区视频| 在线观看91视频| 白白色 亚洲乱淫| 国产成人免费高清| 美女视频黄频大全不卡视频在线播放| 亚洲在线成人精品| 最新久久zyz资源站| 精品国产乱码久久久久久浪潮| 欧美精品一级二级| 欧美日本在线视频| 欧美日韩综合在线免费观看| 在线视频国产一区| 在线免费视频一区二区| 不卡视频一二三| 成人午夜av影视| 国产不卡免费视频| 国产精品一区二区不卡| 国产麻豆91精品| 国产麻豆欧美日韩一区| 国产麻豆精品在线观看| 国产成人免费视频一区| 粉嫩在线一区二区三区视频| 国产福利一区二区三区视频| 国产成人精品免费| 国内精品免费**视频| 精品一区二区三区久久| 久久99国产精品免费网站| 日本aⅴ免费视频一区二区三区| 午夜精品福利一区二区蜜股av | 午夜伦理一区二区| 亚洲国产你懂的| 天天综合日日夜夜精品| 日韩av电影免费观看高清完整版在线观看| 亚洲在线成人精品| 日韩va欧美va亚洲va久久| 蜜桃视频一区二区三区| 狠狠色综合播放一区二区| 国产乱淫av一区二区三区| 成人免费高清在线| 日本高清不卡aⅴ免费网站| 色拍拍在线精品视频8848| 欧美视频一区二区三区四区| 欧美一区二区三区思思人| 久久久亚洲精品一区二区三区| 中文字幕久久午夜不卡| 亚洲婷婷在线视频| 亚洲va中文字幕| 经典三级视频一区| 成人午夜免费av| 欧美撒尿777hd撒尿| 久久综合久久综合九色| 亚洲欧洲精品一区二区三区| 亚洲一区二区三区中文字幕| 九色|91porny| 色综合久久中文综合久久牛| 在线不卡a资源高清| 国产午夜三级一区二区三| 最新中文字幕一区二区三区| 日韩高清不卡一区| 成人app网站| 日韩欧美一区中文| 自拍偷拍欧美激情| 美女视频网站久久| 色欧美日韩亚洲| 精品福利av导航| 亚洲一区二区四区蜜桃| 国产黄人亚洲片| 欧美男生操女生| 亚洲欧洲色图综合| 男人的天堂久久精品| 91女厕偷拍女厕偷拍高清| 日韩欧美一区在线| 亚洲天堂av一区| 国产中文字幕精品| 在线观看亚洲精品视频| 国产日韩精品视频一区| 午夜精品成人在线视频| 国产精品中文字幕日韩精品| 欧美乱熟臀69xxxxxx| 国产色综合久久| 麻豆精品蜜桃视频网站| 91美女视频网站| 国产亚洲欧美在线| 日本视频中文字幕一区二区三区 | 色一情一乱一乱一91av| 欧美成人精品福利| 亚洲一卡二卡三卡四卡五卡| 99久久伊人久久99| 国产欧美日韩亚州综合| 久久精品国产一区二区| 欧美日韩精品一区二区| 亚洲青青青在线视频| www.欧美色图| 国产日韩三级在线| 久久精品99国产国产精| 777xxx欧美| 日韩综合小视频| 欧美在线免费播放| 日韩 欧美一区二区三区| 91福利国产成人精品照片| 国产精品久久久久久福利一牛影视| 国内一区二区在线| 久久综合久久综合久久综合| 久久精品久久综合| 日韩欧美的一区二区| 奇米777欧美一区二区| 欧美日韩一区在线| 亚洲国产精品久久不卡毛片| 欧美视频精品在线| 五月婷婷综合网| 欧美猛男gaygay网站| 日韩国产欧美在线播放| 欧美精品精品一区| 蜜桃视频在线一区| 精品精品国产高清一毛片一天堂| 久久精品国产99| 欧美精品一区二区三区视频| 精品午夜一区二区三区在线观看 | 欧美日韩国产天堂| 亚洲成av人片一区二区三区| 欧美日韩一区二区在线观看视频| 亚洲成国产人片在线观看| 激情综合色综合久久| 久久精品国产在热久久| 久久综合狠狠综合久久激情 | 欧美日韩国产综合一区二区三区| 亚洲图片有声小说| 欧美精品免费视频| 麻豆91精品91久久久的内涵| 精品久久久久久久久久久院品网| 国产美女娇喘av呻吟久久 | 亚洲欧美另类在线| 在线亚洲欧美专区二区| 日日骚欧美日韩| 久久网站最新地址| 91免费观看在线| 午夜a成v人精品| 久久久国产精品不卡| 91猫先生在线| 日韩国产欧美在线播放| 亚洲国产成人私人影院tom| 91久久精品网| 久久99久久99小草精品免视看|