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

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

?? alert.java

?? 有關(guān)j2me的很好的例子可以研究一下
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
     * @param cmd the Command     *     * @throws IllegalStateException always     */    public void addCommand(Command cmd) {        // SYNC NOTE: no sync necessary        throw new IllegalStateException();    }    /**     * Listeners are not allowed on Alerts, so this method will always throw     * IllegalStateException whenever it is called.     *     * @param l the Listener     * @throws IllegalStateException always     */    public void setCommandListener(CommandListener l) {        // SYNC NOTE: no sync necessary        throw new IllegalStateException();    }    // package private    /**     * Static default Command for "OK"     */    static final Command OK = new Command(Resource.getString("Done"),                                          Command.OK, 0);    /**     * Special CommandListener instance to handle execution of     * the default "OK" Command     */    CommandListener implicitListener = new CommandListener() {        /**         * Handle the execution of the given Command and Displayable.         *         * @param c The Command to execute         * @param s The Displayable from which the Command originated         */        public void commandAction(Command c, Displayable s) {            if (c == OK) {                synchronized (Display.LCDUILock) {                    currentDisplay.clearAlert();                }            }        }    };    /**     * Notify this Alert that is being displayed on the     * given Display and wether it needs to initialize its     * highlight     *     * @param d The Display this Alert will be shown on     */    void showNotifyImpl(Display d) {        super.showNotifyImpl(d);        if (getTimeout() == FOREVER) {            super.addCommandImpl(OK);            super.setCommandListener(implicitListener);        }    }    /**     * Notify this Alert that it will no longer be displayed     * on the given Display     *     * @param d The Display showing this Alert     */    void hideNotifyImpl(Display d) {        super.hideNotifyImpl(d);        super.removeCommandImpl(OK);        super.setCommandListener(null);    }    /**     * Paint the contents of this Alert given the graphics context.     *     * @param g The Graphics object to paint this Alert to     */    void paintContent(Graphics g) {        // clear the screen area for the image & text        g.setColor(Display.ERASE_COLOR);        g.fillRect(g.getClipX(), g.getClipY(),                    g.getClipWidth(), g.getClipHeight());        // offset to vertically center the alert content if the alert height        // is less than the view port height.        int yOffset = (viewPortHeight - alertHeight) / 2;        if (yOffset < 0) {            yOffset = 0;        }        // center and paint the image        if (alertImage != null) {            int xOffset = (viewPortWidth - alertImage.getWidth()) / 2;            if (xOffset < 0) {                xOffset = 0;            }            g.drawImage(alertImage, xOffset, yOffset,                         Graphics.TOP | Graphics.LEFT);        }        // paint the text        if (alertText != null) {            g.translate(0, imgHeight + yOffset);            alertText.paint(g, false, false);        }    }    /**     * Layout the content of this Alert given the width and     * height parameters     *     * @param w The allowed width of this Alert     * @param h The allowed height of this Alert     * @return int  The height this Alert will require given the allowable     *              width     */    int layoutContent(int w, int h) {        // layout the alert text         alertHeight = 0;        if (alertText != null) {            alertHeight += alertText.setWidth(w);        }        // update the alert height        alertHeight += imgHeight;        return alertHeight;    }    //    // Private fields    //    /**     * The default timeout of all alerts     */    private static final int DEFAULT_TIMEOUT = 2000;    /**     * The timeout value of this alert     */    private int time;    /**     * The type of this alert     */    private AlertType type;    /**     * The layout object for the alert text string     */    private StringLayout alertText;    /**     * The image of this alert     */    private Image alertImage;    /**     * The height of this alert image     */    private int imgHeight;    /**     * The height of this alert     */    private int alertHeight;    /**     * Set the image displayed by this Alert     *     * @param img   The new Image to be displayed by this Alert     */    private void setImageImpl(Image img) {        Image currentImg = getImage();        // Don't do anything if nothing is changed.        // The check is only if the image object reference is the same.        // There is no image comparison for 2 different image object        // reference, even though they could be the same image.        if (((currentImg == null) && (img == null)) ||                ((currentImg != null) && (img != null) &&                (currentImg == img))) {            return;        }        if ((img != null) && img.isMutable()) {            throw new IllegalArgumentException();        }        int newImageHeight = (img == null) ? 0 : img.getHeight();        this.alertImage = img;        contentChanged(null, 0, 0, newImageHeight - imgHeight);        // update the alert and image height        alertHeight += (newImageHeight - imgHeight);        imgHeight = newImageHeight;    }    /**     * Set the message displayed by this Alert     *     * @param str   The new message to be displayed by this Alert     */    private void setStringImpl(String str) {        String currentStr = getStringImpl();        // don't do anything if nothing is changed        if (((currentStr == null) && (str == null)) ||            ((currentStr != null) && (str != null) && currentStr.equals(str))) {            return;        }        int deltaHeight = 0;        if (this.alertText == null) {            this.alertText = new StringLayout(str, CONTENT_FONT);            if (initLayoutDone()) {                deltaHeight = this.alertText.setWidth(viewPortWidth);            }        } else {            deltaHeight = alertText.setString(str);        }        // update the alert height        alertHeight += deltaHeight;        contentChanged(null, 0, 0, deltaHeight);    }    /**     * Get the message displayed by this Alert     *     * @return String The message displayed by this Alert     */    private String getStringImpl() {        return (alertText == null ? null : alertText.getString());    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看日韩电影| 亚洲一区二区三区四区的| 福利电影一区二区| 一区二区三区四区乱视频| 日韩一区二区在线观看视频| 日本电影亚洲天堂一区| 国产欧美精品一区二区色综合朱莉| 9人人澡人人爽人人精品| 亚洲综合无码一区二区| 26uuu精品一区二区| 欧美三级视频在线| 99久久99精品久久久久久| 另类调教123区| 天天色天天爱天天射综合| 国产精品国产三级国产aⅴ中文 | www国产精品av| 欧美色男人天堂| 91丨九色porny丨蝌蚪| 国产成人精品www牛牛影视| 视频一区二区中文字幕| 亚洲精品欧美专区| 国产精品久久久久国产精品日日| 久久亚洲欧美国产精品乐播 | 国产成a人亚洲精品| 中文久久乱码一区二区| 日韩美女主播在线视频一区二区三区| 色网综合在线观看| av成人老司机| 成人av在线资源| 国产精品一区二区在线播放| 美女诱惑一区二区| 丝袜诱惑亚洲看片| 亚洲3atv精品一区二区三区| 亚洲蜜臀av乱码久久精品蜜桃| 中文字幕乱码久久午夜不卡| 久久人人爽爽爽人久久久| 精品欧美一区二区久久| 欧美一二三四区在线| 欧美久久久一区| 国产精品毛片大码女人| 国产视频在线观看一区二区三区| 亚洲精品在线三区| 日韩欧美国产综合一区| 精品国产乱码久久| 2020国产精品久久精品美国| 青青草原综合久久大伊人精品优势| 国产精品网站导航| 国产精品国产三级国产aⅴ无密码| 日本一区二区三区四区在线视频 | 国产日韩欧美精品一区| 国产日韩av一区二区| 欧美激情一区二区三区全黄| 欧美激情一区二区三区蜜桃视频| 国产精品久久久久久久久免费樱桃| 国产精品午夜免费| 亚洲精品国产一区二区三区四区在线| 亚洲免费观看高清在线观看| 一区二区三区欧美亚洲| 午夜精品影院在线观看| 麻豆精品一区二区综合av| 国产麻豆视频一区二区| 北条麻妃一区二区三区| 91性感美女视频| 欧美精品一卡二卡| 久久久久久久精| 综合久久国产九一剧情麻豆| 香蕉影视欧美成人| 国内外精品视频| a4yy欧美一区二区三区| 欧美日韩一区视频| 2014亚洲片线观看视频免费| 国产精品久久久久永久免费观看 | 精品91自产拍在线观看一区| 国产精品理论片在线观看| 一区二区三区四区在线播放| 日韩高清在线不卡| 国产91在线观看丝袜| 在线免费不卡视频| 337p粉嫩大胆色噜噜噜噜亚洲| 国产精品视频麻豆| 调教+趴+乳夹+国产+精品| 国产精品一二二区| 在线视频一区二区三| 精品国产一二三| 亚洲精品国产一区二区三区四区在线 | 欧美久久一二区| 国产欧美一区二区精品仙草咪| 一区二区免费看| 国产黄色91视频| 欧美日韩另类一区| 国产精品视频一二三| 丝袜美腿亚洲色图| 97精品久久久久中文字幕| 久久精品一区二区三区不卡牛牛| 波多野结衣亚洲| 欧美视频一区二区三区四区 | 成人av在线网| 欧美电影免费观看高清完整版在线 | 一区二区成人在线| 精品一区精品二区高清| 在线中文字幕一区| 国产日本欧洲亚洲| 男男视频亚洲欧美| 91福利在线看| 国产精品美女久久久久久久久久久| 日韩—二三区免费观看av| 一本色道综合亚洲| 欧美激情在线观看视频免费| 蜜臀av国产精品久久久久| 在线精品观看国产| 《视频一区视频二区| 国产一区啦啦啦在线观看| 69堂精品视频| 亚洲图片欧美一区| 色综合久久久久综合体| 国产色产综合色产在线视频| 看片网站欧美日韩| 91精品国产综合久久精品app| 亚洲欧美日韩系列| 99re热这里只有精品视频| 久久久激情视频| 国产美女av一区二区三区| 日韩精品一区二区三区在线播放| 香蕉乱码成人久久天堂爱免费| 99re热这里只有精品免费视频| 中文字幕乱码日本亚洲一区二区| 国产一区二区影院| 精品国偷自产国产一区| 蜜桃视频第一区免费观看| 欧美日韩免费高清一区色橹橹 | 美国十次综合导航| 91麻豆精品国产自产在线观看一区| 一区二区三区日韩| 欧美在线|欧美| 亚洲自拍偷拍av| 在线观看亚洲成人| 亚洲成人动漫精品| 欧美精选午夜久久久乱码6080| 亚洲自拍欧美精品| 欧美日韩电影在线播放| 亚洲一二三区在线观看| 欧美午夜精品理论片a级按摩| 一区二区三区鲁丝不卡| 欧美午夜精品一区| 日韩精品一区第一页| 欧美一级理论片| 极品尤物av久久免费看| 久久亚洲欧美国产精品乐播 | 欧美日韩日本视频| 香蕉影视欧美成人| 日韩女优av电影| 国产一区二区伦理片| 欧美激情一区二区在线| 91色乱码一区二区三区| 一区二区高清免费观看影视大全| 欧美日本韩国一区| 久久成人麻豆午夜电影| 欧美激情自拍偷拍| 日本高清成人免费播放| 丝袜国产日韩另类美女| 欧美电影精品一区二区| 高清shemale亚洲人妖| 依依成人综合视频| 337p亚洲精品色噜噜噜| 国产综合久久久久久久久久久久| 欧美精彩视频一区二区三区| 91麻豆精品秘密| 欧美aaaaaa午夜精品| 国产亚洲一区二区三区| 欧美高清在线视频| 日本高清视频一区二区| 蜜臀av一级做a爰片久久| 国产精品午夜久久| 欧美日韩高清影院| 豆国产96在线|亚洲| 亚洲一区二区三区自拍| 亚洲精品一区在线观看| 91美女在线观看| 美女视频一区在线观看| 国产精品久久久久久久第一福利| 欧美日韩大陆一区二区| 国产精品中文字幕欧美| 亚洲一区二区三区国产| 久久久久久久久久看片| 成人福利视频在线| 男人的j进女人的j一区| 《视频一区视频二区| 日韩精品一区二区三区视频播放| 99精品国产视频| 精品一区二区三区在线观看国产| 亚洲三级在线看| 久久先锋影音av鲁色资源网| 欧美在线观看视频一区二区三区| 国产电影一区二区三区| 日韩精品一级中文字幕精品视频免费观看| 国产亚洲va综合人人澡精品| 91 com成人网| 一本大道久久a久久精二百| 国内不卡的二区三区中文字幕| 亚洲成人三级小说|