| java.lang.Object com.sun.midp.lcdui.RepaintEventProducer
RepaintEventProducer | public class RepaintEventProducer implements EventListener(Code) | | This class performs all of the repaint event handling.
|
Constructor Summary | |
public | RepaintEventProducer(EventQueue theEventQueue) The constructor LCDUI repaint events handler. |
Method Summary | |
public boolean | preprocess(Event event, Event waitingEvent) Preprocess an event that is being posted to the event queue. | public void | process(Event genericEvent) Process an event. | public void | scheduleRepaint(DisplayEventConsumer d, int x, int y, int w, int h, Object target) Called to schedule a repaint of the current Displayable
as soon as possible. | public void | serviceRepaints() Called to block the calling MIDlet until the the pending repaint
operation is performed. |
RepaintEventProducer | public RepaintEventProducer(EventQueue theEventQueue)(Code) | | The constructor LCDUI repaint events handler.
Parameters: theEventQueue - the event queue |
preprocess | public boolean preprocess(Event event, Event waitingEvent)(Code) | | Preprocess an event that is being posted to the event queue.
Parameters: event - event being posted Parameters: waitingEvent - previous event of this type waiting in thequeue to be processed true to allow the post to continue, false to not post theevent to the queue |
process | public void process(Event genericEvent)(Code) | | Process an event.
Parameters: genericEvent - event to process |
scheduleRepaint | public void scheduleRepaint(DisplayEventConsumer d, int x, int y, int w, int h, Object target)(Code) | | Called to schedule a repaint of the current Displayable
as soon as possible.
Parameters: d - The Display Parameters: x - The x coordinate of the origin of the repaint rectangle Parameters: y - The y coordinate of the origin of the repaint rectangle Parameters: w - The width of the repaint rectangle Parameters: h - The height of the repaint rectangle Parameters: target - An optional target Object, which may have been theoriginal requestor for the repaint |
serviceRepaints | public void serviceRepaints()(Code) | | Called to block the calling MIDlet until the the pending repaint
operation is performed.
Does not return until the pending repaint (if any)
has been processed.
|
|
|