A C D F G I K P R S T

A

addCommand(Command) - Method in class com.nokia.mid.ui.FullCanvas
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.addCommand(Command).

C

com.nokia.mid.sound - package com.nokia.mid.sound
Provides an API for simple audio capabilities
com.nokia.mid.ui - package com.nokia.mid.ui
Contains some graphics-related extensions for MIDP low-level UI APIs, such as Graphics and Canvas.
createImage(byte[], int, int) - Static method in class com.nokia.mid.ui.DirectUtils
Creates a mutable image that is decoded from the data stored in the specified byte array at the specified offset and length.
createImage(int, int, int) - Static method in class com.nokia.mid.ui.DirectUtils
The method will return a newly created mutable Image with the specified dimension and all the pixels of the image defined by the specified ARGB color.

D

DeviceControl - class com.nokia.mid.ui.DeviceControl.
DeviceControl provides a collection of methods to control some of the special features available in mobile devices, e.g., vibration and screen (LCD) backlight.
DirectGraphics - interface com.nokia.mid.ui.DirectGraphics.
DirectGraphics contains some graphics extensions for MIDP Graphics, with which polygons and triangles can be drawn and filled, images can be rotated or flipped, alpha channel color supported and raw pixel data can be directly obtained from the graphics context or drawn to it.
DirectUtils - class com.nokia.mid.ui.DirectUtils.
This class is a placeholder for utility methods.
drawImage(Image, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Graphics.drawRegion(javax.microedition.lcdui.Image, int, int, int, int, int, int, int, int).
drawPixels(byte[], byte[], int, int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies or draws the pixel data directly to the graphics context to a specific location.
drawPixels(int[], boolean, int, int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies or draws the pixel data directly to the graphics context to a specific location from the array starting from the specified offset.
drawPixels(short[], boolean, int, int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies or draws the pixel data directly to the graphics context to specific a location.
drawPolygon(int[], int, int[], int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Draws a closed polygon defined by the arrays of the x- and y-coordinates.
drawTriangle(int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Draws a closed triangle defined by coordinates.

F

fillPolygon(int[], int, int[], int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Fills a closed polygon defined by the arrays of the x- and y-coordinates.
fillTriangle(int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Fills a closed triangle defined by coordinates.
flashLights(long) - Static method in class com.nokia.mid.ui.DeviceControl
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.flashBacklight(int).
FLIP_HORIZONTAL - Static variable in interface com.nokia.mid.ui.DirectGraphics
Constant for horizontal image flipping.
FLIP_VERTICAL - Static variable in interface com.nokia.mid.ui.DirectGraphics
Constant for vertical image flipping.
FORMAT_TONE - Static variable in class com.nokia.mid.sound.Sound
Deprecated. A tone-based format is used.
FORMAT_WAV - Static variable in class com.nokia.mid.sound.Sound
Deprecated. Content is in WAV format.
FullCanvas - class com.nokia.mid.ui.FullCanvas.
FullCanvas provides a full screen painting area.
FullCanvas() - Constructor for class com.nokia.mid.ui.FullCanvas
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.setFullScreenMode(boolean).

G

getAlphaComponent() - Method in interface com.nokia.mid.ui.DirectGraphics
Gets the alpha component of the current color.
getConcurrentSoundCount(int) - Static method in class com.nokia.mid.sound.Sound
Deprecated. Returns the maximum number of concurrent sounds the device can play for a specific audio type.
getDirectGraphics(Graphics) - Static method in class com.nokia.mid.ui.DirectUtils
Converts standard javax.microedition.lcdui.Graphics to DirectGraphics.
getGain() - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.VolumeControl.getLevel(int).
getNativePixelFormat() - Method in interface com.nokia.mid.ui.DirectGraphics
Returns the native pixel format of an implementation.
getPixels(byte[], byte[], int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies the pixel (including any transparency mask) values of the graphics context from a specific location to an array of byte values.
getPixels(int[], int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies the pixel values of the graphics context from a specific location to an array of int values.
getPixels(short[], int, int, int, int, int, int, int) - Method in interface com.nokia.mid.ui.DirectGraphics
Copies the pixel values of the graphics context from a specific location to an array of short values.
getState() - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.Player.getState().
getSupportedFormats() - Static method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.getSupportedContentTypes(String).

I

init(byte[], int) - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.createPlayer(java.io.InputStream, String).
init(int, long) - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.playTone(int, int, int).

K

KEY_DOWN_ARROW - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for Down arrow key.
KEY_END - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for End key.
KEY_LEFT_ARROW - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for Left arrow key.
KEY_RIGHT_ARROW - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for Right arrow key.
KEY_SEND - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for Send key.
KEY_SOFTKEY1 - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for left softkey or first command button key.
KEY_SOFTKEY2 - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for right softkey or last command button key.
KEY_SOFTKEY3 - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for select key, middle softkey or second command button key.
KEY_UP_ARROW - Static variable in class com.nokia.mid.ui.FullCanvas
Key code constant for Up arrow key.

P

play(int) - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.setLoopCount(int).

R

release() - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.deallocate().
resume() - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.start().
ROTATE_180 - Static variable in interface com.nokia.mid.ui.DirectGraphics
Constant for rotating an image 180 degrees counter-clockwise.
ROTATE_270 - Static variable in interface com.nokia.mid.ui.DirectGraphics
Constant for rotating an image 270 degrees counter-clockwise.
ROTATE_90 - Static variable in interface com.nokia.mid.ui.DirectGraphics
Constant for rotating an image 90 degrees counter-clockwise.

S

setARGBColor(int) - Method in interface com.nokia.mid.ui.DirectGraphics
Sets the current color (and alpha) to the specified ARGB value (0xAARRGGBB).
setCommandListener(CommandListener) - Method in class com.nokia.mid.ui.FullCanvas
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.setCommandListener(CommandListener).
setGain(int) - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.VolumeControl.setLevel(int).
setLights(int, int) - Static method in class com.nokia.mid.ui.DeviceControl
Activates and deactivates the lights on the device.
setSoundListener(SoundListener) - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.addPlayerListener(javax.microedition.media.PlayerListener).
Sound - class com.nokia.mid.sound.Sound.
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by classes in javax.microedition.media package.
SOUND_PLAYING - Static variable in class com.nokia.mid.sound.Sound
Deprecated. Sound is in a playing state.
SOUND_STOPPED - Static variable in class com.nokia.mid.sound.Sound
Deprecated. Sound is in a stopped state.
SOUND_UNINITIALIZED - Static variable in class com.nokia.mid.sound.Sound
Deprecated. Sound is in an uninitialized (already released) state.
Sound(byte[], int) - Constructor for class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.createPlayer(java.io.InputStream, String).
Sound(int, long) - Constructor for class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.playTone(int, int, int).
SoundListener - interface com.nokia.mid.sound.SoundListener.
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener interface.
soundStateChanged(Sound, int) - Method in interface com.nokia.mid.sound.SoundListener
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener.playerUpdate(javax.microedition.media.Player, String, Object).
startVibra(int, long) - Static method in class com.nokia.mid.ui.DeviceControl
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.vibrate(int).
stop() - Method in class com.nokia.mid.sound.Sound
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.stop().
stopVibra() - Static method in class com.nokia.mid.ui.DeviceControl
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.vibrate(int)

T

TYPE_BYTE_1_GRAY - Static variable in interface com.nokia.mid.ui.DirectGraphics
1 bit format, 2 distinct color values (on/off), stored as a byte. 8 pixel values in a single byte, packed as closely as possible.
TYPE_BYTE_1_GRAY_VERTICAL - Static variable in interface com.nokia.mid.ui.DirectGraphics
1 bit format, 2 distinct color values (on/off), stored as a byte. 8 pixel values are stored in a single byte.
TYPE_BYTE_2_GRAY - Static variable in interface com.nokia.mid.ui.DirectGraphics
2 bit format, 4 gray scale colors.
TYPE_BYTE_332_RGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
3 bits for red, 3 bits for green, and 2 bits for blue component in a pixel, stored as a byte.
TYPE_BYTE_4_GRAY - Static variable in interface com.nokia.mid.ui.DirectGraphics
4 bit format, 16 gray scale colors.
TYPE_BYTE_8_GRAY - Static variable in interface com.nokia.mid.ui.DirectGraphics
8 bit format, 256 gray scale colors.
TYPE_INT_888_RGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
8 bits for red, green and blue component in a pixel (0x00RRGGBB).
TYPE_INT_8888_ARGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
8 bits for alpha, red, green and blue component in a pixel (0xAARRGGBB).
TYPE_USHORT_1555_ARGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
1 bit for alpha, 5 bits for red, green and blue component in a pixel.
TYPE_USHORT_444_RGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
4 bits for red, green and blue component in a pixel, stored as a short (0x0RGB).
TYPE_USHORT_4444_ARGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
4 bits for alpha, red, green and blue component in a pixel, stored as a short (0xARGB).
TYPE_USHORT_555_RGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
5 bits for red, green and blue component in a pixel.
TYPE_USHORT_565_RGB - Static variable in interface com.nokia.mid.ui.DirectGraphics
5 bits for red, 6 bits for green and 5 bits for blue component in a pixel.

A C D F G I K P R S T
forum.nokia.com/java

Copyright (c) 2002-2004 Nokia Corporation. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.