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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? statemachine.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
字號:
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/util/stateMachine/StateMachine.java,v $// $RCSfile: StateMachine.java,v $// $Revision: 1.2.2.3 $// $Date: 2005/08/10 22:45:14 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.util.stateMachine;import java.util.Enumeration;import java.util.Vector;/** * The StateMachine lets you organize event handling, if the order of * the events are important to you. You can use the setState commands * with the state you want, if you are holding on a copy of it. * Otherwise, the state machine assumes you know the index of the * state you want. */public class StateMachine {    /** The states to track. */    protected Vector states = new Vector();    /** The current state that will receive the next event. */    protected State currentState;    /** The state to go to whan all is bad. */    protected State resetState;    public StateMachine() {}    /**     * Define the state machine using the array of states. Order is     * maintained.     *      * @param s array of states.     */    public StateMachine(State[] s) {        for (int i = 0; i < s.length; i++)            states.addElement(s[i]);    }    /** Sets the current state to the reset state. */    public void reset() {        currentState = resetState;    }    /**     * Set the states to the new array.     *      * @param s array of states.     */    public void setStates(State[] s) {        states.clear();        addStates(s);    }    /**     * Set the states to the vector of States.     *      * @param s     */    public void setStates(Vector s) {        states = s;    }    /**     * Get the Vector of States.     *      * @return Vector     */    public Vector getStates() {        return states;    }    /**     * Append States to the state Vector.     *      * @param s an Array of States.     */    public void addStates(State[] s) {        for (int i = 0; i < s.length; i++)            states.addElement(s[i]);    }    /**     * Set the current state to the given state. If the state is not     * in the state machine, then the state is added to the end to the     * state vector.     *      * @param state the state to set to the current one.     */    public void setState(State state) {        if (!states.contains(state))            states.addElement(state);        currentState = state;    }    /**     * Set the current state to the state residing in the vector at     * the given index. If the index is larger than the number of     * states in the machine, the statemachine is reset.     *      * @param stateIndex the index of the current state.     */    public void setState(int stateIndex) {        try {            currentState = (State) states.elementAt(stateIndex);        } catch (ArrayIndexOutOfBoundsException e) {            reset();            System.err.println("StateMachine: out of bounds exception caught!");        }    }    /**     * Set the state at an index to new State Object. If the index     * isn't currently being used, the StateMachine is reset.     *      * @param stateIndex     * @param state     */    public void setStateAt(int stateIndex, State state) {        try {            states.setElementAt(state, stateIndex);        } catch (ArrayIndexOutOfBoundsException e) {            System.err.println("StateMachine: out of bounds exception caught when trying to replace State that didn't exist.");        }    }    /** Return the current State. */    public State getState() {        return currentState;    }    /**     * Return the state at the given index. If the index is larger     * that the number of states, null is returned.     */    public State getState(int stateIndex) {        try {            return (State) states.elementAt(stateIndex);        } catch (ArrayIndexOutOfBoundsException e) {            System.err.println("StateMachine: out of bounds exception caught!");            return null;        }    }    /**     * Set the state to be gone to if the state machine is reset. If     * the state does not exist in the state machine already, it will     * be added to the end of the state vector.     */    public void setResetState(State state) {        if (!states.contains(state))            states.addElement(state);        resetState = state;    }    /**     * Set the reset state to be used by the state machine. If a bad     * integer value is given, the first state in the state vector is     * made the reset state.     */    public void setResetState(int stateIndex) {        try {            resetState = (State) states.elementAt(stateIndex);        } catch (ArrayIndexOutOfBoundsException e) {            System.err.println("StateMachine: out of bounds exception caught!");            if (states.size() > 1)                resetState = (State) states.elementAt(0);        }    }    /** Return the reset state. */    public State getResetState() {        return resetState;    }    /** Set the MapMouseListenerResponse for all the states. */    public void setMapMouseListenerResponses(boolean value) {        Enumeration sItems = states.elements();        while (sItems.hasMoreElements()) {            State state = (State) sItems.nextElement();            state.setMapMouseListenerResponse(value);        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩精品免费| 亚洲天堂中文字幕| 91精品国产综合久久蜜臀| 欧美唯美清纯偷拍| 欧美婷婷六月丁香综合色| 欧美色电影在线| 欧美精品高清视频| 日韩精品在线一区二区| 精品va天堂亚洲国产| 久久只精品国产| 精品福利一区二区三区免费视频| 欧美电影影音先锋| 日韩视频免费观看高清完整版| 欧美视频三区在线播放| 欧美肥妇毛茸茸| 日韩色在线观看| 日本一区免费视频| 一区二区三区四区亚洲| 亚洲国产视频一区| 激情综合网最新| 从欧美一区二区三区| 国产福利精品一区二区| 99re成人精品视频| 欧美一区二区国产| 国产欧美一区二区三区沐欲 | 日韩主播视频在线| 久久精品国产亚洲高清剧情介绍| 国产自产高清不卡| 丰满少妇在线播放bd日韩电影| 色婷婷久久久综合中文字幕| 91.com在线观看| 国产欧美久久久精品影院| 国产精品美女久久久久久2018| 亚洲综合久久久久| 国产一级精品在线| 欧美日韩激情一区二区| 国产精品三级视频| 日本视频在线一区| 色综合久久88色综合天天| 日韩一区二区三区在线视频| 欧美激情一区二区三区全黄| 亚洲成av人片在www色猫咪| 韩国成人在线视频| 欧美在线观看视频一区二区| 久久婷婷综合激情| 亚洲妇女屁股眼交7| 国产成人亚洲综合a∨猫咪| 欧美性色综合网| 久久美女高清视频| 婷婷亚洲久悠悠色悠在线播放| 国产精品18久久久久久久网站| 日本精品视频一区二区| 久久精品男人天堂av| 亚洲一区欧美一区| 成人黄色免费短视频| 久久婷婷国产综合精品青草| 日韩精品欧美成人高清一区二区| 91蜜桃在线观看| 国产欧美日韩在线看| 激情小说亚洲一区| 91精品国模一区二区三区| 一区二区三区四区在线| www.欧美日韩国产在线| 国产亚洲制服色| 国内偷窥港台综合视频在线播放| 欧美精品久久久久久久多人混战 | 蜜臀av一区二区三区| 欧美午夜在线观看| 亚洲精品成人悠悠色影视| av激情成人网| 国产精品久久久久aaaa樱花| 成人国产亚洲欧美成人综合网 | 亚洲男同性视频| 色婷婷亚洲婷婷| 狠狠色丁香久久婷婷综| 欧美人与禽zozo性伦| 一区二区三区欧美久久| 91蝌蚪porny| 亚洲免费毛片网站| 色婷婷综合久久久久中文一区二区| 日本一区二区三区四区在线视频| 国产伦精品一区二区三区免费 | 国产成人精品亚洲午夜麻豆| 精品国产网站在线观看| 国产原创一区二区三区| 欧美一区二区三区在线观看| 午夜欧美大尺度福利影院在线看| 一本色道a无线码一区v| 亚洲精品综合在线| 欧美日韩精品免费| 99麻豆久久久国产精品免费优播| 自拍av一区二区三区| 麻豆视频一区二区| 精品国产免费人成在线观看| 国产精一品亚洲二区在线视频| 国产精品久久久久久久岛一牛影视| 成人听书哪个软件好| 一区二区三区精品在线观看| 欧美人妖巨大在线| 国产精品自在欧美一区| 中文字幕在线观看不卡视频| 欧美性videosxxxxx| 奇米精品一区二区三区在线观看一| 精品国产伦一区二区三区观看方式| 国产成人午夜高潮毛片| 亚洲一区国产视频| 日韩免费电影一区| 91麻豆蜜桃一区二区三区| 一区二区三区欧美| 久久综合五月天婷婷伊人| 99久久99久久精品免费看蜜桃| 亚洲成a人在线观看| 精品99一区二区三区| 色乱码一区二区三区88| 久久99热这里只有精品| 亚洲九九爱视频| 久久久久99精品一区| 在线电影欧美成精品| 成人午夜精品在线| 另类中文字幕网| 一区二区三区日韩精品视频| 精品少妇一区二区三区免费观看| 91在线播放网址| 蜜桃av一区二区| 亚洲成a人片在线不卡一二三区| 久久久久久久久久久99999| 欧美日精品一区视频| av在线这里只有精品| 久久91精品国产91久久小草 | 7777精品伊人久久久大香线蕉超级流畅 | 97se亚洲国产综合在线| 国内精品久久久久影院一蜜桃| 亚洲成人在线网站| 国产精品少妇自拍| 精品国产伦一区二区三区观看体验| 欧美亚洲高清一区二区三区不卡| 成人网男人的天堂| 国内精品在线播放| 蜜桃一区二区三区在线| 亚洲v精品v日韩v欧美v专区| 亚洲综合在线视频| 亚洲欧美日韩人成在线播放| 中文字幕免费不卡| 国产日产欧美一区二区三区| 精品国产一区二区亚洲人成毛片 | 亚洲色图清纯唯美| 国产精品情趣视频| 国产亚洲短视频| 国产视频一区在线播放| 26uuu国产日韩综合| 日韩欧美国产小视频| 日韩三区在线观看| 久久久久久久综合| 精品久久久影院| 精品国产伦理网| 久久久亚洲精华液精华液精华液| 日韩美女一区二区三区| 欧美成人性福生活免费看| 精品国精品自拍自在线| 久久久久99精品国产片| 国产精品网站在线| 樱花影视一区二区| 亚洲一区二区三区不卡国产欧美| 一区av在线播放| 性感美女极品91精品| 美女久久久精品| 国产尤物一区二区| 成人免费观看视频| 91麻豆精品在线观看| 欧美精品日韩精品| 精品国产亚洲在线| 亚洲欧美一区二区视频| 亚洲香肠在线观看| 麻豆一区二区在线| 99久久婷婷国产综合精品| 在线免费不卡视频| 日韩欧美国产一区二区在线播放 | 91亚洲男人天堂| 色视频一区二区| 欧美乱妇15p| 久久尤物电影视频在线观看| 国产精品女上位| 亚洲一线二线三线视频| 视频一区免费在线观看| 久久66热re国产| 国产一区二区三区在线看麻豆| 国产一区二区不卡在线| 在线观看日韩国产| 欧美成人午夜电影| 亚洲精品写真福利| 国内精品久久久久影院色| 色悠悠亚洲一区二区| 欧美xxxx在线观看| 亚洲精品欧美激情| 国产精品99久久久久久久vr| 欧美日韩综合不卡| 国产精品欧美一区二区三区| 免费成人性网站| 在线观看91视频| 久久精品这里都是精品|