J2ME+中文API(71页).doc
《J2ME+中文API(71页).doc》由会员分享,可在线阅读,更多相关《J2ME+中文API(71页).doc(71页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、- AlertType ; rithmeticException ArrayIndexOutOfBoundsException ArrayStoreException Boolean Byte ByteArrayInputStream ByteArrayOutputStream Calendar Certificate CertificateException Character Choice Class ClassCastException ClassNotFoundException CommConnection Command CommandListener Connection Con
2、nectionNotFoundException Connector ContentConnection Control Controllable CustomItem DataInput DataInputStream DataOutput DataOutputStream Datagram DatagramConnection Date Display Double EOFException EmptyStackException Enumeration Error Exception Float GameCanvas Hashtable HttpConnection HttpsConne
3、ction IOException IllegalAccessException IllegalArgumentException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IndexOutOfBoundsException InputConnection InputStream InputStreamReader InstantiationException Integer InterruptedException InterruptedIOException InvalidR
4、ecordIDException Item ItemCommandListener ItemStateListener Layer LayerManager 绘制复选框; Long MIDlet MIDletStateChangeException Manager Math MediaException NegativeArraySizeException NoClassDefFoundError NoSuchElementException NullPointerException NumberFormatException Object OutOfMemoryError OutputCon
5、nection OutputStream OutputStreamWriter Player PlayerListener PrintStream PushRegistry Random Reader RecordComparator RecordEnumeration RecordFilter RecordListener RecordStore RecordStoreException RecordStoreFullException RecordStoreNotFoundException RecordStoreNotOpenException Runnable Runtime Runt
6、imeException SecureConnection SecurityException SecurityInfo ServerSocketConnection Short SocketConnection Spacer Sprite Stack StreamConnection StreamConnectionNotifier String StringBuffer StringIndexOutOfBoundsException System 绘制单选按钮; Thread Throwable TiledLayer TimeZone Timer TimerTask ToneControl
7、 UDPDatagramConnection UTFDataFormatException UnsupportedEncodingException Vector VirtualMachineError VolumeControl WriterClass Canvas javax.microedition.lcduiField Summarystaticint staticint staticint staticint staticint staticint staticint staticint staticint staticintstaticint staticint staticint
8、 staticint staticint staticint staticint keyCode for ITU-T key pound (#).staticint keyCode for ITU-T key star (*).staticint Constant for the LEFT game action.staticint Constant for the RIGHT game action.staticint Constant for the UP game action.Constructor Summaryprotected () Constructs a new Canvas
9、 object.Method Summaryint(intkeyCode) 返回按键编码值对应用的游戏操作;int(intgameAction) 返回游戏操作常量的案件编码值;(intkeyCode) 返回按键编码值对应的按键的名称,这个名称不是游戏操作的名称,而是实际按键的名称;boolean() 响应指针拖动事件;boolean() 判断设备是否探测指针设备的按下,拖动和释放行为;boolean() 判断设备是否支持重复按键;protected void() 在应用程序管理器从屏幕删除画布后调用;boolean() 判断设备是否支持双缓冲器;protected void(intkeyCod
10、e) 当按下按键时调用,通常处理按键的案件编码;protected void(intkeyCode) 当释放按键时调用,通常处理按键的案件编码;protected void(intkeyCode) 当持续按下按键时调用,通常处理案件的按键编码; (不是所有设备都支持)protected abstract void(g) 把Graphics类的实例作为参数,在画布上绘制一幅图像;protected void(intx, inty) 响应指针拖动事件;protected void(intx, inty) 响应指针按下事件;protected void(intx, inty) 响应指针释放事件;vo
11、id() 重新绘制整个画布;void(intx, inty, intwidth, intheight) 重新绘制画布的指定区域;void() 在其他优先需求之前必须处理的画笔需求;void(booleanmode) Controls whether the Canvas is in full-screen mode or in normal mode.protected void() 在应用程序管理显示画布之前调用;protected void(intw, inth) Called when the drawable area of the Canvas has been changed.Cl
12、ass Screen javax.microedition.lcduiMethods inherited from class javax.microedition.lcdui., , , , , , , , , , Methods inherited from class java.lang., , , , , , , , Class Displayable javax.microedition.lcduiMethod Summaryvoid(cmd) Adds a command to the Displayable.int() Gets the height in pixels of t
13、he displayable area available to the application.(): 获得屏幕标题;() :获得屏幕的滚动牌;int() Gets the width in pixels of the displayable area available to the application.boolean() Checks if the Displayable is actually visible on the display.void(cmd) Removes a command from the Displayable.void(l) Sets a listener
14、 for to this Displayable, replacing any previous CommandListener.void(ticker):设定屏幕的滚动牌;void(s):设定屏幕的标题;protected void(intw, inth) The implementation calls this method when the available area of the Displayable has been changed.Methods inherited from class java.lang., , , , , , , , Class Alert javax.
15、microedition.lcduiField Summarystatic A Command delivered to a listener to indicate that the Alert has been dismissed.staticint FOREVER indicates that an Alert is kept visible until the user dismisses it.Constructor Summary(title) 创建Alert类的实例;(title, alertText, alertImage, alertType) 使用Image和AlertTy
16、pe创建Alert类的实例;Method Summaryvoid(cmd) Similar to , however when the application first adds a command to an Alert, is implicitly removed.int() 获得Alert类的实例的默认超时;() 获得Alert类的实例的图像;() Gets the activity indicator for this Alert.() 获得Alert类的实例的消息;int() 获得Alcrt类的实例要显示的实际时间;() 获得Alecrt类的实例的AlertTypc;void(cm
17、d) , however when the application removes the last command from an Alert, is implicitly added.void(l) but with the following additional semantics.void(img) 把指定图像和Alert类的实力建立关联;void(indicator) Sets an activity indicator on this Alert.void(str) 设定Alert类的实力的消息;void(inttime) 设定Alert类的实例的显示时间;void(type)
18、设定Alert类的实例AlertType;Methods inherited from class javax.microedition.lcdui., , , , , , , Methods inherited from class java.lang., , , , , , , , Class Form javax.microedition.lcduiConstructor Summary(title) 创建Form类的实例;(title, items) 创建Form类的实例,并且把它指定的项数组加到实例上Method Summaryint(img) 把Image类的实例添加到Form类的
19、实例;int(item) 把Item类或其子类的实例添加到Form类的实例;int(str) 把String类的实例添加到Form类的实例;void(intitemNum) 根据索引从Form类的实例中删除指定Item类或其子类的实例void() (intitemNum) 获得索引指定的位置处的Item类或其子类的的实例;int() int() void(intitemNum, item) 在索引指定的位置处插入Item类或子类的实例void(intitemNum, item) 在索引指定的位置使用第二个参数引用的Item类或其子类的实例;void(iListener) 将ItemStateL
20、istener和Item类或其子类的实例建立关联;int() 获得Form类的实例中的Item类及子类的实例数目;Methods inherited from class javax.microedition.lcdui., , , , , , , , Methods inherited from class java.lang., , , , , , , , Class ChoiceGroup javax.microedition.lcduiField SummaryFields inherited from class javax.microedition.lcdui., , , , ,
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- J2ME 中文 API 71
限制150内