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

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

?? choice.java

?? 有關(guān)j2me的很好的例子可以研究一下
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* * @(#)Choice.java	1.14 01/08/21 * Copyright (c) 1999-2001 Sun Microsystems, Inc. All Rights Reserved. * * This software is the confidential and proprietary information of Sun * Microsystems, Inc. ("Confidential Information").  You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Sun. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING * THIS SOFTWARE OR ITS DERIVATIVES. */package javax.microedition.lcdui;/** * <P>Choice defines an API for a user interface components implementing * selection from predefined number of choices. Such UI components are * {@link List List} and {@link ChoiceGroup ChoiceGroup}. * The contents of the Choice are represented * with strings and optional images.</P> * * <P>Each element of a Choice is composed of a text string and an * optional image. The application may provide <code>null</code> for the * image if the element does not have an image part. If the application * provides an image, the implementation may choose to ignore the image if it * exceeds the capacity of the device to display it. If the implementation * displays the image, it will be displayed adjacent to the text string and * the pair will be treated as a unit. </p> * * <P>Images within any particular Choice object should all be of the same * size, because the implementation is allowed to allocate the same amount of * vertical space for every element.</P> * * <P>If an element is too long to be displayed, the implementation will * provide the user * with means to see the whole element. If this is done by wrapping an element * to multiple lines, the second and subsequent lines show a clear indication to * the user that they are part of the same element and are not a new * element.</P> * * <P>After a Choice object has been created, elements may be inserted,  * appended, and deleted, and each element's string part and image part may be  * get and set.  Elements within a Choice object are referred to by their  * indexes, which are consecutive integers in the range from zero to size()-1,  * with zero referring to the first element and size()-1 to the last element. * </P> *  * <P>There are three types of Choices: implicit-choice (valid only for * {@link List List}), exclusive-choice, * and multiple-choice. </p> * * <P>The exclusive-choice presents a series of elements and interacts with the * user. That is, when the user selects an element, * that element is shown to be selected using a distinct visual * representation. Exactly one element must be selected at any given time. * If at any time a situation would result where there are elements in the * exclusive-choice but none is selected, the implementation will choose an * element and select it. This situation can arise when an element is added * to an empty Choice, when the selected element is deleted from the * Choice, or when a Choice is created and populated with elements * by a constructor.  In these cases, the choice of which element is * selected is left to the implementation.  Applications for which the selected  * element is significant should set the selection explicitly. * There is no way for the user to unselect an element within an * Exclusive Choice.</p> * * <P>The implicit choice is an exclusive choice where the focused * element is implicitly selected when a command is initiated.</P> * * <P>A multiple-choice presents a series of elements and allows the user to * select any number of elements in any combination. As with * exclusive-choice, the multiple-choice interacts with the user in * object-operation mode. The visual appearance of a multiple-choice will * likely have a visual representation distinct from the exclusive-choice * that shows the selected state of each element as well as indicating to the * user that multiple elements may be selected. </P> * * <P>The selected state of an element is a property of the element. This state * stays with that element if other elements are inserted or deleted, causing * elements to be shifted around.  For example, suppose element <em>n</em> is * selected, and a new element is inserted at index zero.  The selected element * would now have index <em>n+1</em>.  A similar rule applies to deletion.   * Assuming <em>n</em> is greater than zero, deleting element zero would leave  * element <em>n-1</em> selected.  Setting the contents of an element leaves  * its selected state unchanged.  When a new element is inserted or appended,  * it is always unselected (except in the special case of adding an element to  * an empty Exclusive Choice as mentioned above).</P> * * <P>When a Choice is present on the display the user can interact with it * indefinitely (for instance, traversing from element to element * and possibly * scrolling). These traversing and scrolling operations do not cause * application-visible events. The system notifies * the application either when some application-defined * {@link Command Command} is fired, or when selection state of * {@link ChoiceGroup} is changed. * When command is fired * a high-level event is delivered to the listener of the Screen. * The event delivery is done with * {@link CommandListener#commandAction(Command, Displayable) * commandAction }. * In the case of {@link ChoiceGroup ChoiceGroup} the * {@link ItemStateListener#itemStateChanged(Item) * ItemStateListener} is called * when the user changes the selection state of the ChoiceGroup. * At this time the application can query the Choice for * information about the currently selected element(s).</P> * */public interface Choice {    /**     * EXCLUSIVE is a choice having exactly one element selected at time.     *     * <P>Value 1 is assigned to EXCLUSIVE.</P>     */    public static final int EXCLUSIVE = 1;    /**     * MULTIPLE is a choice that can have arbitrary number of      * elements selected at a time.     *     * <P>Value 2 is assigned to MULTIPLE.</P>     */    public static final int MULTIPLE  = 2;    /**     * IMPLICIT is a choice in which the currently focused item     * is selected when a {@link Command Command} is initiated.     * (Note: IMPLICIT is not accepted by     * {@link javax.microedition.lcdui.ChoiceGroup ChoiceGroup})     *     * <P>Value 3 is assigned to IMPLICIT.</P>     */    public static final int IMPLICIT = 3;    /**     * <p>Gets the number of elements present.</p>     * @return the number of elements in the Choice     */    public int size();    /**     * <p>Gets the String part of the element referenced by elementNum.     * The elementNum parameter must be within the range     * [0..size()-1], inclusive. </p>     *     * @param elementNum the index of the element to be queried     * @return the string part of the element     * @throws IndexOutOfBoundsException if elementNum is invalid     * @see #getImage(int)     */    public String getString(int elementNum);    /**     * <p>Gets the Image part of the element referenced by elementNum.     * The elementNum parameter must be within the range     * [0..size()-1], inclusive. </p>     *     * @param elementNum the index of the element to be queried     * @return the image part of the element, or null if there is no image     * @throws IndexOutOfBoundsException if elementNum is invalid     * @see #getString(int)     */    public Image getImage(int elementNum);    /**     * <p>Appends an element to the Choice. The added element will be the last     * element of the Choice. The size of the Choice grows by one. </p>     *     * @param stringPart the string part of the element to be added     * @param imagePart the image part of the element to be added, or null if     * there is no image part     * @return the assigned index of the element     * @throws IllegalArgumentException if the image is mutable

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩小说| 看片的网站亚洲| 日本视频一区二区三区| 国产99久久久国产精品| 欧美在线短视频| 久久婷婷成人综合色| 婷婷综合在线观看| 91小宝寻花一区二区三区| 久久综合久久综合亚洲| 亚洲一区二区三区视频在线| 高清成人在线观看| 欧美一区二区三区白人| 亚洲一区二区在线免费观看视频| 风流少妇一区二区| 久久综合av免费| 日韩福利电影在线| 欧美日本国产视频| 亚洲国产一区二区在线播放| gogogo免费视频观看亚洲一| 久久久久久久性| 卡一卡二国产精品| 91精品国产综合久久精品| 亚洲成人av免费| 欧美视频一区二区在线观看| 中文字幕在线一区| 大桥未久av一区二区三区中文| 日韩欧美一区中文| 麻豆91在线看| 日韩精品一区国产麻豆| 日韩成人精品在线| 欧美一区国产二区| 日精品一区二区| 91精品国产综合久久精品app| 亚洲一区在线观看网站| 在线精品亚洲一区二区不卡| 一区二区三区 在线观看视频| 91在线视频观看| 一区二区三区四区在线播放| 欧美中文字幕一区二区三区亚洲| 亚洲欧洲制服丝袜| 91黄视频在线| 奇米色777欧美一区二区| 91精品国产免费| 美女精品一区二区| 欧美精品一区二| 成人性生交大片免费看在线播放 | 久久先锋影音av鲁色资源网| 精品中文字幕一区二区| 欧美国产日产图区| 91免费视频网| 天天综合天天做天天综合| 日韩一区二区三区免费看 | 五月激情综合婷婷| 日韩欧美亚洲国产精品字幕久久久| 久久精品噜噜噜成人av农村| 国产拍揄自揄精品视频麻豆| 成人晚上爱看视频| 亚洲国产精品久久人人爱蜜臀 | 美女www一区二区| 国产精品系列在线| 在线观看视频91| 美女一区二区久久| 国产精品狼人久久影院观看方式| 欧美视频在线观看一区二区| 精品写真视频在线观看| 亚洲欧美在线观看| 日韩午夜精品视频| 99天天综合性| 久久av中文字幕片| 亚洲欧美激情视频在线观看一区二区三区 | 精品处破学生在线二十三| av激情亚洲男人天堂| 日韩激情一区二区| 中文字幕一区二区三区精华液 | 久久理论电影网| 色噜噜夜夜夜综合网| 国产在线精品一区二区| 亚洲福利一区二区三区| 国产午夜亚洲精品午夜鲁丝片 | 日本sm残虐另类| 国产精品第四页| 亚洲精品在线观看视频| 欧美视频一区二区在线观看| 顶级嫩模精品视频在线看| 喷白浆一区二区| 一区二区三区中文字幕电影| 国产肉丝袜一区二区| 欧美一区二区美女| 日本精品视频一区二区| 成人激情小说乱人伦| 久热成人在线视频| 日本中文字幕一区二区视频| 一区二区三区四区高清精品免费观看| 久久久久久久久久久久电影| 91精品婷婷国产综合久久竹菊| 日本电影亚洲天堂一区| 成人国产精品免费| 国产精品 欧美精品| 久久丁香综合五月国产三级网站| 亚洲a一区二区| 亚洲一区二区三区美女| 亚洲精品国产a久久久久久| 国产精品区一区二区三| 国产日韩高清在线| 久久久久久久久久久99999| 精品久久久网站| 日韩精品专区在线影院观看| 欧美一区二区国产| 日韩欧美一二三区| 欧美成人性战久久| 精品国产伦一区二区三区观看体验| 欧美日韩大陆一区二区| 欧美日本一区二区三区| 欧美日韩综合在线免费观看| 欧美日韩一区在线观看| 欧美裸体一区二区三区| 欧美美女激情18p| 日韩亚洲欧美一区二区三区| 欧美一区二区三区男人的天堂| 欧美一区中文字幕| 91精品国产黑色紧身裤美女| 日韩一二三区不卡| 2014亚洲片线观看视频免费| 久久久久久久久久久电影| 国产精品欧美综合在线| 综合分类小说区另类春色亚洲小说欧美| 国产欧美日韩不卡免费| 亚洲人成网站影音先锋播放| 亚洲综合在线五月| 日韩国产欧美视频| 国内成人精品2018免费看| 高清beeg欧美| 在线精品视频小说1| 91精品国产综合久久蜜臀| 久久综合九色综合欧美亚洲| 国产精品国产三级国产aⅴ入口 | 久久综合狠狠综合久久综合88| 久久久www成人免费毛片麻豆| 国产精品国产自产拍高清av| 亚洲成人黄色小说| 久久不见久久见免费视频1| 成人激情免费电影网址| 欧美日韩在线播放三区四区| 精品99一区二区| 亚洲美女区一区| 九九热在线视频观看这里只有精品| 国产91精品一区二区麻豆网站 | 国产真实乱偷精品视频免| 成人精品在线视频观看| 欧美精选午夜久久久乱码6080| 欧美精品一区二区三区四区| √…a在线天堂一区| 偷拍亚洲欧洲综合| 成人a级免费电影| 日韩免费高清av| 综合久久给合久久狠狠狠97色| 日日噜噜夜夜狠狠视频欧美人| 成人福利在线看| 日韩一级大片在线观看| 亚洲精品欧美在线| 国产中文一区二区三区| 精品视频一区三区九区| 欧美激情一区二区三区在线| 日韩精品电影在线观看| 色婷婷激情综合| 国产亚洲一区字幕| 免费三级欧美电影| 91福利精品视频| 国产精品视频一二| 韩国精品主播一区二区在线观看 | 亚洲国产一区二区三区| 国产成人亚洲精品狼色在线| 91.成人天堂一区| 亚洲日本电影在线| 成人妖精视频yjsp地址| 日韩三级中文字幕| 亚洲成人动漫精品| 91免费版pro下载短视频| 国产欧美综合色| 国产在线精品一区二区不卡了 | 色综合天天综合色综合av| 久久影院午夜片一区| 蜜桃视频一区二区三区在线观看| 欧美性色欧美a在线播放| 亚洲三级电影全部在线观看高清| 国产精品亚洲人在线观看| 精品国产一区二区精华| 久草热8精品视频在线观看| 69av一区二区三区| 日韩国产在线一| 欧美精品乱码久久久久久按摩 | 中文字幕在线不卡| 粉嫩高潮美女一区二区三区| 久久久精品tv| 国产九色sp调教91| 国产欧美日韩中文久久| 豆国产96在线|亚洲| 综合精品久久久| 91久久精品一区二区二区| 一区二区三区精密机械公司|