A C D F G I K P R S T

A

addCommand(Command) - Method in class com.nokia.mid.ui.FullCanvas
Throws IllegalStateException.

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, screen (LCD) backlight, and screen saver appearance.
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
Draws an image to the graphics context.
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
Temporarily flashes the lights for a specific length of time given as milliseconds in duration parameter.
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
A tone-based format is used.
FORMAT_WAV - Static variable in class com.nokia.mid.sound.Sound
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
Constructs a new FullCanvas object.

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
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
Get the gain (or volume) of the sound.
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
Gets the current state of Sound.
getSupportedFormats() - Static method in class com.nokia.mid.sound.Sound
Returns the supported audio formats as an int array.

I

init(byte[], int) - Method in class com.nokia.mid.sound.Sound
Initializes Sound based on byte array data.
init(int, long) - Method in class com.nokia.mid.sound.Sound
Initializes Sound to play a simple beep.

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
This method is used for starting the playback from the beginning of a sound object.

R

release() - Method in class com.nokia.mid.sound.Sound
Releases audio resources reserved by this object.
resume() - Method in class com.nokia.mid.sound.Sound
The method will continue the playback of the stopped sound object from the position it was stopped at.
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
Throws IllegalStateException.
setGain(int) - Method in class com.nokia.mid.sound.Sound
Sets the gain for the sound object.
setLights(int, int) - Static method in class com.nokia.mid.ui.DeviceControl
Activates and deactivates the lights on the device; the function can also be used for preventing screen saver appearance.
setSoundListener(SoundListener) - Method in class com.nokia.mid.sound.Sound
Registers a listener for playback state notifications.
Sound - class com.nokia.mid.sound.Sound.
Provides a simple sound API for playing tones and digitized audio.
SOUND_PLAYING - Static variable in class com.nokia.mid.sound.Sound
Sound is in a playing state.
SOUND_STOPPED - Static variable in class com.nokia.mid.sound.Sound
Sound is in a stopped state.
SOUND_UNINITIALIZED - Static variable in class com.nokia.mid.sound.Sound
Sound is in an uninitialized (already released) state.
Sound(byte[], int) - Constructor for class com.nokia.mid.sound.Sound
Constructors initialize Sound object so that it is ready for playback.
Sound(int, long) - Constructor for class com.nokia.mid.sound.Sound
Constructors initialize Sound so that it is ready for playback.
SoundListener - interface com.nokia.mid.sound.SoundListener.
This interface is used by applications that need to receive events that indicate changes in the playback state of the Sound objects.
soundStateChanged(Sound, int) - Method in interface com.nokia.mid.sound.SoundListener
Called when the playback state of a sound has been changed.
startVibra(int, long) - Static method in class com.nokia.mid.ui.DeviceControl
Activates vibration for a given length of time and frequency.
stop() - Method in class com.nokia.mid.sound.Sound
The method will stop the sound playback and changes the state to SOUND_STOPPED.
stopVibra() - Static method in class com.nokia.mid.ui.DeviceControl
Stops any vibration.

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 Nokia Mobile Phones. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.