MIDP 2.0 增加的函數
来源:互联网 发布:儿童雨衣带书包淘宝网 编辑:程序博客网 时间:2024/05/21 17:14
MIDP 2.0 增加的函數
增加的包:
javax.microedition.media
javax.microedition.media.control
javax.microedition.lcdui.game
javax.microedition.pki
类名称
增加的函数
1
Canvas
public void setFullScreenMode(boolean mode)
protected void sizeChanged(int w, int h)
2
Command
public Command(String shortLabel, String longLabel,
int commandType, int priority)
public String getLongLabel()
3
Displayable
public String getTitle()
public void setTitle(String s)
public Ticker getTicker()
public void setTicker(Ticker ticker)
public int getWidth()
public int getHeight()
protected void sizeChanged(int w, int h)
4
Font
public static final int FONT_STATIC_TEXT
public static final int FONT_INPUT_TEXT
public static Font getFont(int fontSpecifier)
5
Form
public void deleteAll()
public int getWidth()
public int getHeight()
6
Graphics
public void drawRegion(Image src, int x_src, int y_src,
int width, int height, int transform,
int x_dest, int y_dest, int anchor)
public void copyArea(int x_src, int y_src, int width, int height,
int x_dest, int y_dest, int anchor)
public void fillTriangle(int x1, int y1, int x2, int y2,
int x3, int y3)
public void drawRGB(int[] rgbData, int offset, int scanlength,
int x, int y, int width, int height,
boolean processAlpha)
public int getDisplayColor(int color)
7
Image
public static Image createImage(Image image, int x, int y,
int width, int height, int transform)
public static Image createImage(InputStream stream)
throws IOException
public static Image createRGBImage(int[] rgb, int width,
int height, boolean processAlpha)
public void getRGB(int[] rgbData, int offset, int scanlength,
int x, int y, int width, int height)
8
Layer
All
9
MIDlet
public final boolean platformRequest(String URL)
throws ConnectionNotFoundException
public final int checkPermission(String permission)
- MIDP 2.0 增加的函數
- MIDP 2.0 Media API为游戏增加音效
- MIDP 2.0 Media API为游戏增加音效
- MIDP 2.0 Push 技术
- Using MIDP 2.0 PushRegistry
- MIDP
- 介绍MIDP应用程序的属性
- 用于MIDP的URLEncoder类
- 介绍MIDP的属性问题
- 介绍MIDP应用程序的属性
- 介绍MIDP应用程序的属性
- MIDP 2.1的新特征
- j2me-MIDP的总体体系结构
- MIDP和MIDlet的关系
- MIDP终端模拟之三:MIDP 的自定义字体
- The MIDP 2.0 Push Registry
- MIDP 2.0游戏API入门
- J2ME Tutorial, Part 3: 探究MIDP 2.0的游戏API (一)
- eclipse + wtp 开发 jsp
- 如何查看端口+如何关闭开放端口
- 给投资入门者的几点建议
- 获取验证码图片
- 大型RCP项目,降低插件依赖度
- MIDP 2.0 增加的函數
- [全源码提供]图片验证码控件套件
- 关于近期测试(2006/12/21)
- j2ME 测试连网的例子
- 晕晕噩噩
- 使用USB摄像头(Webcam)拍照
- Asp.Net生成验证码
- 在 catch 块内进行 throw 的多种方式
- Java异常处理的陋习