Unofficial
"CLDC 1.1
+ MIDP 2.0"
API Reference.
(日本語版)

定数フィールド値


コンテンツ
java.lang.*

java.lang.Byte
public static final byte MAX_VALUE 127
public static final byte MIN_VALUE -128

java.lang.Character
public static final int MAX_RADIX 36
public static final char MAX_VALUE 65535
public static final int MIN_RADIX 2
public static final char MIN_VALUE 0

java.lang.Double
public static final double MAX_VALUE 1.7976931348623157E308
public static final double MIN_VALUE 4.9E-324
public static final double NaN 0d/0d
public static final double NEGATIVE_INFINITY -1d/0d
public static final double POSITIVE_INFINITY 1d/0d

java.lang.Float
public static final float MAX_VALUE 3.4028234663852886E38f
public static final float MIN_VALUE 1.401298464324817E-45f
public static final float NaN 0f/0f
public static final float NEGATIVE_INFINITY -1f/0f
public static final float POSITIVE_INFINITY 1f/0f

java.lang.Integer
public static final int MAX_VALUE 2147483647
public static final int MIN_VALUE -2147483648

java.lang.Long
public static final long MAX_VALUE 9223372036854775807L
public static final long MIN_VALUE -9223372036854775808L

java.lang.Math
public static final double E 2.718281828459045
public static final double PI 3.141592653589793

java.lang.Short
public static final short MAX_VALUE 32767
public static final short MIN_VALUE -32768

java.lang.Thread
public static final int MAX_PRIORITY 10
public static final int MIN_PRIORITY 1
public static final int NORM_PRIORITY 5

java.util.*

java.util.Calendar
public static final int AM 0
public static final int AM_PM 9
public static final int APRIL 3
public static final int AUGUST 7
public static final int DATE 5
public static final int DAY_OF_MONTH 5
public static final int DAY_OF_WEEK 7
public static final int DECEMBER 11
public static final int FEBRUARY 1
public static final int FRIDAY 6
public static final int HOUR 10
public static final int HOUR_OF_DAY 11
public static final int JANUARY 0
public static final int JULY 6
public static final int JUNE 5
public static final int MARCH 2
public static final int MAY 4
public static final int MILLISECOND 14
public static final int MINUTE 12
public static final int MONDAY 2
public static final int MONTH 2
public static final int NOVEMBER 10
public static final int OCTOBER 9
public static final int PM 1
public static final int SATURDAY 7
public static final int SECOND 13
public static final int SEPTEMBER 8
public static final int SUNDAY 1
public static final int THURSDAY 5
public static final int TUESDAY 3
public static final int WEDNESDAY 4
public static final int YEAR 1

javax.microedition.*

javax.microedition.io.Connector
public static final int READ 1
public static final int READ_WRITE 3
public static final int WRITE 2

javax.microedition.io.HttpConnection
public static final String GET "GET"
public static final String HEAD "HEAD"
public static final int HTTP_ACCEPTED 202
public static final int HTTP_BAD_GATEWAY 502
public static final int HTTP_BAD_METHOD 405
public static final int HTTP_BAD_REQUEST 400
public static final int HTTP_CLIENT_TIMEOUT 408
public static final int HTTP_CONFLICT 409
public static final int HTTP_CREATED 201
public static final int HTTP_ENTITY_TOO_LARGE 413
public static final int HTTP_EXPECT_FAILED 417
public static final int HTTP_FORBIDDEN 403
public static final int HTTP_GATEWAY_TIMEOUT 504
public static final int HTTP_GONE 410
public static final int HTTP_INTERNAL_ERROR 500
public static final int HTTP_LENGTH_REQUIRED 411
public static final int HTTP_MOVED_PERM 301
public static final int HTTP_MOVED_TEMP 302
public static final int HTTP_MULT_CHOICE 300
public static final int HTTP_NO_CONTENT 204
public static final int HTTP_NOT_ACCEPTABLE 406
public static final int HTTP_NOT_AUTHORITATIVE 203
public static final int HTTP_NOT_FOUND 404
public static final int HTTP_NOT_IMPLEMENTED 501
public static final int HTTP_NOT_MODIFIED 304
public static final int HTTP_OK 200
public static final int HTTP_PARTIAL 206
public static final int HTTP_PAYMENT_REQUIRED 402
public static final int HTTP_PRECON_FAILED 412
public static final int HTTP_PROXY_AUTH 407
public static final int HTTP_REQ_TOO_LONG 414
public static final int HTTP_RESET 205
public static final int HTTP_SEE_OTHER 303
public static final int HTTP_TEMP_REDIRECT 307
public static final int HTTP_UNAUTHORIZED 401
public static final int HTTP_UNAVAILABLE 503
public static final int HTTP_UNSUPPORTED_RANGE 416
public static final int HTTP_UNSUPPORTED_TYPE 415
public static final int HTTP_USE_PROXY 305
public static final int HTTP_VERSION 505
public static final String POST "POST"

javax.microedition.io.SocketConnection
public static final byte DELAY 0
public static final byte KEEPALIVE 2
public static final byte LINGER 1
public static final byte RCVBUF 3
public static final byte SNDBUF 4

javax.microedition.lcdui.Alert
public static final int FOREVER -2

javax.microedition.lcdui.Canvas
public static final int DOWN 6
public static final int FIRE 8
public static final int GAME_A 9
public static final int GAME_B 10
public static final int GAME_C 11
public static final int GAME_D 12
public static final int KEY_NUM0 48
public static final int KEY_NUM1 49
public static final int KEY_NUM2 50
public static final int KEY_NUM3 51
public static final int KEY_NUM4 52
public static final int KEY_NUM5 53
public static final int KEY_NUM6 54
public static final int KEY_NUM7 55
public static final int KEY_NUM8 56
public static final int KEY_NUM9 57
public static final int KEY_POUND 35
public static final int KEY_STAR 42
public static final int LEFT 2
public static final int RIGHT 5
public static final int UP 1

javax.microedition.lcdui.Choice
public static final int EXCLUSIVE 1
public static final int IMPLICIT 3
public static final int MULTIPLE 2
public static final int POPUP 4
public static final int TEXT_WRAP_DEFAULT 0
public static final int TEXT_WRAP_OFF 2
public static final int TEXT_WRAP_ON 1

javax.microedition.lcdui.Command
public static final int BACK 2
public static final int CANCEL 3
public static final int EXIT 7
public static final int HELP 5
public static final int ITEM 8
public static final int OK 4
public static final int SCREEN 1
public static final int STOP 6

javax.microedition.lcdui.CustomItem
protected static final int KEY_PRESS 4
protected static final int KEY_RELEASE 8
protected static final int KEY_REPEAT 16
protected static final int NONE 0
protected static final int POINTER_DRAG 128
protected static final int POINTER_PRESS 32
protected static final int POINTER_RELEASE 64
protected static final int TRAVERSE_HORIZONTAL 1
protected static final int TRAVERSE_VERTICAL 2

javax.microedition.lcdui.DateField
public static final int DATE 1
public static final int DATE_TIME 3
public static final int TIME 2

javax.microedition.lcdui.Display
public static final int ALERT 3
public static final int CHOICE_GROUP_ELEMENT 2
public static final int COLOR_BACKGROUND 0
public static final int COLOR_BORDER 4
public static final int COLOR_FOREGROUND 1
public static final int COLOR_HIGHLIGHTED_BACKGROUND 2
public static final int COLOR_HIGHLIGHTED_BORDER 5
public static final int COLOR_HIGHLIGHTED_FOREGROUND 3
public static final int LIST_ELEMENT 1

javax.microedition.lcdui.Font
public static final int FACE_MONOSPACE 32
public static final int FACE_PROPORTIONAL 64
public static final int FACE_SYSTEM 0
public static final int FONT_INPUT_TEXT 1
public static final int FONT_STATIC_TEXT 0
public static final int SIZE_LARGE 16
public static final int SIZE_MEDIUM 0
public static final int SIZE_SMALL 8
public static final int STYLE_BOLD 1
public static final int STYLE_ITALIC 2
public static final int STYLE_PLAIN 0
public static final int STYLE_UNDERLINED 4

javax.microedition.lcdui.Gauge
public static final int CONTINUOUS_IDLE 0
public static final int CONTINUOUS_RUNNING 2
public static final int INCREMENTAL_IDLE 1
public static final int INCREMENTAL_UPDATING 3
public static final int INDEFINITE -1

javax.microedition.lcdui.Graphics
public static final int BASELINE 64
public static final int BOTTOM 32
public static final int DOTTED 1
public static final int HCENTER 1
public static final int LEFT 4
public static final int RIGHT 8
public static final int SOLID 0
public static final int TOP 16
public static final int VCENTER 2

javax.microedition.lcdui.ImageItem
public static final int LAYOUT_CENTER 3
public static final int LAYOUT_DEFAULT 0
public static final int LAYOUT_LEFT 1
public static final int LAYOUT_NEWLINE_AFTER 512
public static final int LAYOUT_NEWLINE_BEFORE 256
public static final int LAYOUT_RIGHT 2

javax.microedition.lcdui.Item
public static final int BUTTON 2
public static final int HYPERLINK 1
public static final int LAYOUT_2 16384
public static final int LAYOUT_BOTTOM 32
public static final int LAYOUT_CENTER 3
public static final int LAYOUT_DEFAULT 0
public static final int LAYOUT_EXPAND 2048
public static final int LAYOUT_LEFT 1
public static final int LAYOUT_NEWLINE_AFTER 512
public static final int LAYOUT_NEWLINE_BEFORE 256
public static final int LAYOUT_RIGHT 2
public static final int LAYOUT_SHRINK 1024
public static final int LAYOUT_TOP 16
public static final int LAYOUT_VCENTER 48
public static final int LAYOUT_VEXPAND 8192
public static final int LAYOUT_VSHRINK 4096
public static final int PLAIN 0

javax.microedition.lcdui.TextField
public static final int ANY 0
public static final int CONSTRAINT_MASK 65535
public static final int DECIMAL 5
public static final int EMAILADDR 1
public static final int INITIAL_CAPS_SENTENCE 2097152
public static final int INITIAL_CAPS_WORD 1048576
public static final int NON_PREDICTIVE 524288
public static final int NUMERIC 2
public static final int PASSWORD 65536
public static final int PHONENUMBER 3
public static final int SENSITIVE 262144
public static final int UNEDITABLE 131072
public static final int URL 4

javax.microedition.lcdui.game.GameCanvas
public static final int DOWN_PRESSED 64
public static final int FIRE_PRESSED 256
public static final int GAME_A_PRESSED 512
public static final int GAME_B_PRESSED 1024
public static final int GAME_C_PRESSED 2048
public static final int GAME_D_PRESSED 4096
public static final int LEFT_PRESSED 4
public static final int RIGHT_PRESSED 32
public static final int UP_PRESSED 2

javax.microedition.lcdui.game.Sprite
public static final int TRANS_MIRROR 2
public static final int TRANS_MIRROR_ROT180 1
public static final int TRANS_MIRROR_ROT270 4
public static final int TRANS_MIRROR_ROT90 7
public static final int TRANS_NONE 0
public static final int TRANS_ROT180 3
public static final int TRANS_ROT270 6
public static final int TRANS_ROT90 5

javax.microedition.media.Manager
public static final String TONE_DEVICE_LOCATOR "device://tone"

javax.microedition.media.Player
public static final int CLOSED 0
public static final int PREFETCHED 300
public static final int REALIZED 200
public static final int STARTED 400
public static final long TIME_UNKNOWN -1L
public static final int UNREALIZED 100

javax.microedition.media.PlayerListener
public static final String CLOSED "closed"
public static final String DEVICE_AVAILABLE "deviceAvailable"
public static final String DEVICE_UNAVAILABLE "deviceUnavailable"
public static final String DURATION_UPDATED "durationUpdated"
public static final String END_OF_MEDIA "stopped"
public static final String ERROR "error"
public static final String STARTED "started"
public static final String STOPPED "stopped"
public static final String VOLUME_CHANGED "volumeChanged"

javax.microedition.media.control.ToneControl
public static final byte BLOCK_END -6
public static final byte BLOCK_START -5
public static final byte C4 60
public static final byte PLAY_BLOCK -7
public static final byte REPEAT -9
public static final byte RESOLUTION -4
public static final byte SET_VOLUME -8
public static final byte SILENCE -1
public static final byte TEMPO -3
public static final byte VERSION -2

javax.microedition.pki.CertificateException
public static final byte BAD_EXTENSIONS 1
public static final byte BROKEN_CHAIN 11
public static final byte CERTIFICATE_CHAIN_TOO_LONG 2
public static final byte EXPIRED 3
public static final byte INAPPROPRIATE_KEY_USAGE 10
public static final byte MISSING_SIGNATURE 5
public static final byte NOT_YET_VALID 6
public static final byte ROOT_CA_EXPIRED 12
public static final byte SITENAME_MISMATCH 7
public static final byte UNAUTHORIZED_INTERMEDIATE_CA 4
public static final byte UNRECOGNIZED_ISSUER 8
public static final byte UNSUPPORTED_PUBLIC_KEY_TYPE 13
public static final byte UNSUPPORTED_SIGALG 9
public static final byte VERIFICATION_FAILED 14

javax.microedition.rms.RecordComparator
public static final int EQUIVALENT 0
public static final int FOLLOWS 1
public static final int PRECEDES -1

javax.microedition.rms.RecordStore
public static final int AUTHMODE_ANY 1
public static final int AUTHMODE_PRIVATE 0


Unofficial
"CLDC 1.1
+ MIDP 2.0"
API Reference.
(日本語版)

公式仕様書原文の著作権表記等(※):

Mobile Information Device Profile Specification ("Specification")
Version: 2.0
Status: FCS
Release: November 5, 2002

Copyright 2002 Sun Microsystems, Inc. and Motorola, Inc.
All rights reserved.
※ただしこの API リファレンスは英語仕様を一語一句正確に翻訳したものではなく、一度私が英語の仕様原文を読んだ上で元の意味と構造をなるべく保つように書き起こしたものです。このため一部は完全に異なる説明となっています。また CLDC 1.1 部分は同仕様の範囲外であるため、まったく参考とはしていません。

※仕様書のライセンス上、問題は無いと考えておりますが、万が一問題があるとお考えの関係者の方がいらっしゃいましたらメールにて連絡をいただけると幸いに存じます(第一言語に日本語、第二言語に英語を希望しますが、返信は基本的に日本語で行います)。

この API リファレンスは仕様書の日本語版という位置づけでは作成していませんし、仕様書ほど厳格でもありません。MUST、SHOULD、MAY などの仕様の条件を強調する文を維持していません(反映すらしていない個所もあります)。仮想マシンおよび MIDP の実装のために使用することは避けてください。そのような用途には必ず公式仕様書原文そのものを用いるべきです。
この API リファレンスに記載されている内容は"さかきけい"が Sun Microsystems, Inc や Motorola, Inc、Java Community Process が公開している各種公式資料を元に、独自に調査・編集したものであり、Sun Microsystems, Inc や Motorola, Inc、Java Community Process 等とは一切関係ありません。したがってこの API リファレンスに関する問い合わせを関係各社等に対して行うことを固く禁じます。
また、記載された内容には既知か否かに関らず誤りが含まれる可能性があり、一切保証はありません。本 API リファレンスを使用した結果、不利益が生じたとしても"さかきけい"は一切の責任を負いません。
許可無く公開/非公開および Internet/Intranet/LAN を問わず他サイトに転載すること、複写および複製すること、ローカル・ファイル等に保存することを禁じます。


Copyright© 2001-2002,2005-2009,2011 by KEI SAKAKI.
ALL RIGHTS RESERVED.
無断転載を禁じます。

Unofficial "CLDC 1.0 + MIDP 1.0" API Reference はこちらです。