版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、 Alert 列表; AlertType rithmeticException ArrayIndexOutOfBoundsException ArrayStoreException Boolean Byte ByteArrayInputStream ByteArrayOutputStream Calendar Canvas 畫布; Certificate CertificateException Character Choice ChoiceGroup Class ClassCastException ClassNotFoundException CommConnection Command
2、CommandListener Connection ConnectionNotFoundException Connector ContentConnection Control Controllable CustomItem DataInput DataInputStream DataOutput DataOutputStream Datagram DatagramConnection Date DateField Display Displayable Double EOFException EmptyStackException Enumeration Error Exception
3、Float Font Form 文本; GameCanvas Gauge Graphics 虛擬畫筆; Hashtable HttpConnection HttpsConnection IOException IllegalAccessException IllegalArgumentException IllegalMonitorStateException IllegalStateException IllegalThreadStateException Image ImageItem IndexOutOfBoundsException InputConnection InputStrea
4、m InputStreamReader InstantiationException Integer InterruptedException InterruptedIOException InvalidRecordIDException Item ItemCommandListener ItemStateListener Layer LayerManager List 繪制復選框; Long MIDlet MIDletStateChangeException Manager Math MediaException NegativeArraySizeException NoClassDefFo
5、undError NoSuchElementException NullPointerException NumberFormatException Object OutOfMemoryError OutputConnection OutputStream OutputStreamWriter Player PlayerListener PrintStream PushRegistry Random Reader RecordComparator RecordEnumeration RecordFilter RecordListener RecordStore RecordStoreExcep
6、tion RecordStoreFullException RecordStoreNotFoundException RecordStoreNotOpenException Runnable Runtime RuntimeException Screen SecureConnection SecurityException SecurityInfo ServerSocketConnection Short SocketConnection Spacer Sprite Stack StreamConnection StreamConnectionNotifier String StringBuf
7、fer StringIndexOutOfBoundsException StringItem System TextBox 繪制單選按鈕; TextField Thread Throwable Ticker TiledLayer TimeZone Timer TimerTask ToneControl UDPDatagramConnection UTFDataFormatException UnsupportedEncodingException Vector VirtualMachineError VolumeControl WriterClass Canvas javax.microedi
8、tion.lcduiField SummarystaticintDOWN staticintFIRE staticintGAME_A staticintGAME_B staticintGAME_C staticintGAME_D staticintKEY_NUM0 staticintKEY_NUM1 staticintKEY_NUM2 staticintKEY_NUM3staticintKEY_NUM4 staticintKEY_NUM5 staticintKEY_NUM6 staticintKEY_NUM7 staticintKEY_NUM8 staticintKEY_NUM9 static
9、intKEY_POUND keyCode for ITU-T key pound (#).staticintKEY_STAR keyCode for ITU-T key star (*).staticintLEFT Constant for the LEFT game action.staticintRIGHT Constant for the RIGHT game action.staticintUP Constant for the UP game action.Constructor Summaryprotected Canvas() Constructs a new Canvas ob
10、ject.Method SummaryintgetGameAction(intkeyCode) 返回按鍵編碼值對應用的游戲操作;intgetKeyCode(intgameAction) 返回游戲操作常量的案件編碼值;StringgetKeyName(intkeyCode) 返回按鍵編碼值對應的按鍵的名稱,這個名稱不是游戲操作的名稱,而是實際按鍵的名稱;booleanhasPointerEvents() 響應指針拖動事件;booleanhasPointerMotionEvents() 判斷設備是否探測指針設備的按下,拖動和釋放行為;booleanhasRepeatEvents() 判斷設備是否支
11、持重復按鍵;protected voidhideNotify() 在應用程序管理器從屏幕刪除畫布后調(diào)用;booleanisDoubleBuffered() 判斷設備是否支持雙緩沖器;protected voidkeyPressed(intkeyCode) 當按下按鍵時調(diào)用,通常處理按鍵的案件編碼;protected voidkeyReleased(intkeyCode) 當釋放按鍵時調(diào)用,通常處理按鍵的案件編碼;protected voidkeyRepeated(intkeyCode) 當持續(xù)按下按鍵時調(diào)用,通常處理案件的按鍵編碼; (不是所有設備都支持)protected abstract
12、voidpaint(Graphicsg) 把Graphics類的實例作為參數(shù),在畫布上繪制一幅圖像;protected voidpointerDragged(intx, inty) 響應指針拖動事件;protected voidpointerPressed(intx, inty) 響應指針按下事件;protected voidpointerReleased(intx, inty) 響應指針釋放事件;voidrepaint() 重新繪制整個畫布;voidrepaint(intx, inty, intwidth, intheight) 重新繪制畫布的指定區(qū)域;voidserviceRepaints
13、() 在其他優(yōu)先需求之前必須處理的畫筆需求;voidsetFullScreenMode(booleanmode) Controls whether the Canvas is in full-screen mode or in normal tected voidshowNotify() 在應用程序管理顯示畫布之前調(diào)用;protected voidsizeChanged(intw, inth) Called when the drawable area of the Canvas has been changed.Class Screen javax.microedition.
14、lcduiMethods inherited from class javax.microedition.lcdui.DisplayableaddCommand, getHeight, getTicker, getTitle, getWidth, isShown, removeCommand, setCommandListener, setTicker, setTitle, sizeChangedMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString
15、, wait, wait, waitClass Displayable javax.microedition.lcduiMethod SummaryvoidaddCommand(Commandcmd) Adds a command to the DgetHeight() Gets the height in pixels of the displayable area available to the application.TickergetTicker(): 獲得屏幕標題;StringgetTitle() :獲得屏幕的滾動牌;intgetWidth() Gets
16、 the width in pixels of the displayable area available to the application.booleanisShown() Checks if the Displayable is actually visible on the display.voidremoveCommand(Commandcmd) Removes a command from the Displayable.voidsetCommandListener(CommandListenerl) Sets a listener for Commands to this D
17、isplayable, replacing any previous CommandListener.voidsetTicker(Tickerticker):設定屏幕的滾動牌;voidsetTitle(Strings):設定屏幕的標題;protected voidsizeChanged(intw, inth) The implementation calls this method when the available area of the Displayable has been changed.Methods inherited from class java.lang.Objecteq
18、uals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitClass Alert javax.microedition.lcduiField SummarystaticCommandDISMISS_COMMAND A Command delivered to a listener to indicate that the Alert has been dismissed.staticintFOREVER FOREVER indicates that an Alert is kept visible until
19、the user dismisses it.Constructor SummaryAlert(Stringtitle) 創(chuàng)建Alert類的實例;Alert(Stringtitle, StringalertText, ImagealertImage, AlertTypealertType) 使用Image和AlertType創(chuàng)建Alert類的實例;Method SummaryvoidaddCommand(Commandcmd) Similar to Displayable.addCommand(javax.microedition.lcdui.Command), however when the
20、 application first adds a command to an Alert, DISMISS_COMMAND is implicitly getDefaultTimeout() 獲得Alert類的實例的默認超時;ImagegetImage() 獲得Alert類的實例的圖像;GaugegetIndicator() Gets the activity indicator for this Alert.StringgetString() 獲得Alert類的實例的消息;intgetTimeout() 獲得Alcrt類的實例要顯示的實際時間;AlertTypeget
21、Type() 獲得Alecrt類的實例的AlertTypc;voidremoveCommand(Commandcmd) Displayable.removeCommand(javax.microedition.lcdui.Command), however when the application removes the last command from an Alert, DISMISS_COMMAND is implicitly added.voidsetCommandListener(CommandListenerl) Displayable.setCommandListener(ja
22、vax.microedition.lcdui.CommandListener) but with the following additional semantics.voidsetImage(Imageimg) 把指定圖像和Alert類的實力建立關聯(lián);voidsetIndicator(Gaugeindicator) Sets an activity indicator on this Alert.voidsetString(Stringstr) 設定Alert類的實力的消息;voidsetTimeout(inttime) 設定Alert類的實例的顯示時間;voidsetType(AlertT
23、ypetype) 設定Alert類的實例AlertType;Methods inherited from class javax.microedition.lcdui.DisplayablegetHeight, getTicker, getTitle, getWidth, isShown, setTicker, setTitle, sizeChangedMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitClas
24、s Form javax.microedition.lcduiConstructor SummaryForm(Stringtitle) 創(chuàng)建Form類的實例;Form(Stringtitle, Itemitems) 創(chuàng)建Form類的實例,并且把它指定的項數(shù)組加到實例上Method Summaryintappend(Imageimg) 把Image類的實例添加到Form類的實例;intappend(Itemitem) 把Item類或其子類的實例添加到Form類的實例;intappend(Stringstr) 把String類的實例添加到Form類的實例;voiddelete(intitemNum
25、) 根據(jù)索引從Form類的實例中刪除指定Item類或其子類的實例voiddeleteAll() Itemget(intitemNum) 獲得索引指定的位置處的Item類或其子類的的實例;intgetHeight() intgetWidth() voidinsert(intitemNum, Itemitem) 在索引指定的位置處插入Item類或子類的實例voidset(intitemNum, Itemitem) 在索引指定的位置使用第二個參數(shù)引用的Item類或其子類的實例;voidsetItemStateListener(ItemStateListeneriListener) 將ItemStat
26、eListener和Item類或其子類的實例建立關聯(lián);intsize() 獲得Form類的實例中的Item類及子類的實例數(shù)目;Methods inherited from class javax.microedition.lcdui.DisplayableaddCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle, sizeChangedMethods inherited from class java.lang.Objectequals, getClass,
27、hashCode, notify, notifyAll, toString, wait, wait, waitClass ChoiceGroup javax.microedition.lcduiField SummaryFields inherited from class javax.microedition.lcdui.ItemBUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_N
28、EWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAINFields inherited from interface javax.microedition.lcdui.ChoiceEXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ONConstructor SummaryChoiceGroup(Stringlabel,
29、intchoiceType) 創(chuàng)建一個空的ChoiceGroup類的實例,實例的標題是label,實例的類型是choiceType;ChoiceGroup(Stringlabel, intchoiceType, StringstringElements, ImageimageElements) 創(chuàng)建ChoiceGroup類的實例,實例的標題是label,實例的類型是choiceType,實例使用圖像,并且使用string中包含的選項組成這個實例;Method Summaryintappend(StringstringPart, ImageimagePart) 在choiceType類的實例中的
30、所有選項末尾增加選項,并且設定這個選項關聯(lián)的圖像;voiddelete(intelementNum) 根據(jù)索引數(shù),從ChoiceGroup類的實例中刪除相應的選項及其相關聯(lián)的圖像;voiddeleteAll() Deletes all elements from this ChoiceGgetFitPolicy() Gets the applications preferred policy for fitting Choice element contents to the available screen space.FontgetFont(intelementNum) G
31、ets the applications preferred font for rendering the specified element of this Choice.ImagegetImage(intelementNum) 獲得索引數(shù)標記的選項關聯(lián)的圖像;intgetSelectedFlags(booleanselectedArray_return) 獲得選項的選擇狀態(tài),并把狀態(tài)存儲在一個數(shù)組selectedArray_return中;intgetSelectedIndex() 獲得被選擇的選項關聯(lián)的索引數(shù);StringgetString(intelementNum) 獲得索引數(shù)標記的
32、選項關聯(lián)的字符串;voidinsert(intelementNum, StringstringPart, ImageimagePart) 在索引數(shù)標記的選項前,插入一個又string和image指定的選項到ChoiceGroup類的實例中;booleanisSelected(intelementNum)判斷用戶是否選擇了索引數(shù)標識的選項;voidset(intelementNum, StringstringPart, ImageimagePart) 使用string和image指定的選項替代索引數(shù)標記的選項;voidsetFitPolicy(intfitPolicy) Sets the app
33、lications preferred policy for fitting Choice element contents to the available screen space.voidsetFont(intelementNum, Fontfont) Sets the applications preferred font for rendering the specified element of this Choice.voidsetSelectedFlags(booleanselectedArray) 使用數(shù)組中存儲的狀態(tài)設定選項的選擇狀態(tài);voidsetSelectedInde
34、x(intelementNum, booleanselected) 設定索引鼠標及的選項的選擇狀態(tài),或者被選擇(true),或者不被選擇(false);intsize() 獲得ChoiceGroup類的實例中選項的數(shù)目;Methods inherited from class javax.microedition.lcdui.ItemaddCommand, getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, remov
35、eCommand, setDefaultCommand, setItemCommandListener, setLabel, setLayout, setPreferredSizeMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitClass DateField javax.microedition.lcduiField SummarystaticintDATE Input mode for date infor
36、mation (day, month, year).staticintDATE_TIME Input mode for date (day, month, year) and time (minutes, hours) information.staticintTIME Input mode for time information (hours and minutes).Fields inherited from class javax.microedition.lcdui.ItemBUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENT
37、ER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAINConstructor SummaryDateField(Stringlabel, intmode) 創(chuàng)建包含指定標簽、使用特定模式的DateField類的實例;DateField(Stringlabel, intmode,
38、TimeZonetimeZone) 創(chuàng)建包含指定標簽、使用特定模式和時區(qū)的DateFild類的實例;Method SummaryDategetDate() 從DateField類的實例中獲得日期/時間;intgetInputMode() 獲得DateField類的實例的收入模式;voidsetDate(Datedate) 從DateField類的實例設定日期;voidsetInputMode(intmode) 使用一個不同的模式替換已有的日期域的模式;Methods inherited from class javax.microedition.lcdui.ItemaddCommand, ge
39、tLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand, setDefaultCommand, setItemCommandListener, setLabel, setLayout, setPreferredSizeMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll,
40、toString, wait, wait, waitClass Gauge javax.microedition.lcduiField SummarystaticintCONTINUOUS_IDLE The value representing the continuous-idle state of a non-interactive Gauge with indefinite range.staticintCONTINUOUS_RUNNING The value representing the continuous-running state of a non-interactive G
41、auge with indefinite range.staticintINCREMENTAL_IDLE The value representing the incremental-idle state of a non-interactive Gauge with indefinite range.staticintINCREMENTAL_UPDATING The value representing the incremental-updating state of a non-interactive Gauge with indefinite range.staticintINDEFI
42、NITE A special value used for the maximum value in order to indicate that the Gauge has indefinite range.Fields inherited from class javax.microedition.lcdui.ItemBUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLIN
43、E_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAINConstructor SummaryGauge(Stringlabel, booleaninteractive, intmaxValue, intinitialValue) Creates a new Gauge object with the given label, in interactive or non-interactive mode, with the given maxi
44、mum and initial values.Method SummaryvoidaddCommand(Commandcmd) Adds a context sensitive Command to the getMaxValue() 獲得guage的最大值;intgetValue() 獲得gauge的當前值;booleanisInteractive() 判斷guage是否是交互式的;voidsetDefaultCommand(Commandcmd) Sets default Command for this Item.voidsetItemCommandListener(It
45、emCommandListenerl) Sets a listener for Commands to this Item, replacing any previous ItemCommandListener.voidsetLabel(Stringlabel) Sets the label of the Item.voidsetLayout(intlayout) Sets the layout directives for this item.voidsetMaxValue(intmaxValue) 設定guage的最大值;voidsetPreferredSize(intwidth, int
46、height) Sets the preferred width and height for this Item.voidsetValue(intvalue) 為gauge設定一個新值;Methods inherited from class javax.microedition.lcdui.ItemgetLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommandMethods inherited fr
47、om class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitClass StringItem javax.microedition.lcduiField SummaryFields inherited from class javax.microedition.lcdui.ItemBUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, L
48、AYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAINConstructor SummaryStringItem(Stringlabel, Stringtext) 創(chuàng)建StringItem類的實例,其中,lable是一個說明StringItem類的標簽,text是在屏幕上顯示的文本;StringItem(Stringlabel, Stringtext
49、, intappearanceMode) Creates a new StringItem object with the given label, textual content, and appearance mode.Method SummaryintgetAppearanceMode() FontgetFont() StringgetText() 獲得StringItem類的實例的文本部分;voidsetFont(Fontfont) Sets the applications preferred font for rendering this StringItem.voidsetPre
50、ferredSize(intwidth, intheight) Sets the preferred width and height for this Item.voidsetText(Stringtext) 替換StringItem類的實例的文本部分;Methods inherited from class javax.microedition.lcdui.ItemaddCommand, getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand, setDefaultCommand, setItemCommandListener, setLabel, setLayoutMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitClass TextField javax.microedition.lcduiField SummarystaticintANY The use
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 質(zhì)量體系監(jiān)視和測量資源培訓課件
- 繪畫廚具課件教學課件
- 就餐服務課件教學課件
- 美術(shù)蜘蛛課件教學課件
- 高三化學一輪復習 氮及其化合物說播課課件
- 膝關節(jié)保膝治療
- 車輪滾滾中班教案反思
- 鞭炮與安全教案反思
- 好玩的空氣說課稿
- 物聯(lián)網(wǎng)燃氣報警器
- 蓮藕的貯藏保鮮技術(shù)
- 油氣地質(zhì)儲量計算及評價
- 【2023高血壓患者服藥依從性研究(論文)2800字】
- 村衛(wèi)生室2023年度績效考核評分細則(基本公共衛(wèi)生服務)
- 寬帶接入合同
- 陰陽五行學說 PowerPoint 演示文稿 全面版【PPT課件】
- 測定總糖原始記錄
- 混凝土強度自動評定表格
- 大學生心理稿范文800字(優(yōu)選9篇)-1
- 北京科技大學EMC-VNX5300實施文檔
- 高一女生青春期教育講座
評論
0/150
提交評論