| com.sun.midp.lcdui.DisplayAccess
DisplayAccess | public interface DisplayAccess (Code) | | Public interface for an object that is used to provide internal access
to a Display object, across package boundaries. The object implements
this interface, and is created inside the same package as Display, so
that it has access to private instance data of Display as necessary.
|
flush | void flush(Displayable screen, Image offscreen_buffer, int x, int y, int width, int height)(Code) | | Flushes the entire off-screen buffer to the display.
Parameters: screen - The Displayable Parameters: offscreen_buffer - The image buffer Parameters: x - The left edge of the region to be flushed Parameters: y - The top edge of the region to be flushed Parameters: width - The width of the region to be flushed Parameters: height - The height of the region to be flushed |
getDisplay | Display getDisplay()(Code) | | Get the Display object that is associated with this DisplayAccess.
Display The Display object. |
getDisplayEventConsumer | public DisplayEventConsumer getDisplayEventConsumer()(Code) | | Get the DisplayEventConsumer associated with this display.
Consumer of midlet events that go through this display |
getDisplayHeight | public int getDisplayHeight()(Code) | | Called to get current display height.
Display height. |
getDisplayId | public int getDisplayId()(Code) | | Get the ID of this display.
Display ID |
getDisplayWidth | public int getDisplayWidth()(Code) | | Called to get current display width.
Display width. |
getForegroundEventConsumer | public ForegroundEventConsumer getForegroundEventConsumer()(Code) | | Get the ForegroundEventConsumer associated with this display.
Consumer of foreground events that go through this display |
getKeyMask | int getKeyMask()(Code) | | Called to get key mask of all the keys that were pressed.
keyMask The key mask of all the keys that were pressed. |
getNameOfOwner | public String getNameOfOwner()(Code) | | Get the class name of the MIDlet that owns this display.
DisplayAccess I/F method.
name of the MIDlet that owns this Display |
requestForeground | public void requestForeground()(Code) | | Called to get the display to request the foreground.
|
setDisplayId | public void setDisplayId(int newId)(Code) | | Sets the ID of this display.
Shall be called only from DisplayContainer.addDisplay() during
Display construction and registration in the container.
Parameters: newId - new ID for Display associated with this DisplayAccess |
|
|