January 2002
Intermediate to advanced
264 pages
8h 3m
English
javax.microedition.lcdui.Display
This class implements the manager of the display and input devices of
the system. It includes methods for requesting that objects be
displayed on the devices, and for retrieving properties of the
devices. The setCurrent( ) method is used for
setting the current Displayable and the
getCurrent() method for retrieving the current
Displayable. The callSerially( ) method causes the Runnable object to
have its run( ) method called later. This method
can be used by applications to run an animation that is properly
synchronized with the repaint cycle.
public classDisplay{ // public class methods public static DisplaygetDisplay(MIDlet m); // public instance methods public voidcallSerially(Runnable r); public DisplayablegetCurrent( ); public booleanisColor( ); public intnumColors( ); public voidsetCurrent(Alert alert, Displayable display); public voidsetCurrent(Displayable display); }
Read now
Unlock full access