summaryrefslogtreecommitdiff
path: root/gnu/java/nio/KqueueSelectionKeyImpl.java
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2006-09-27 20:17:27 +0000
committerRoman Kennke <roman@kennke.org>2006-09-27 20:17:27 +0000
commitb0468b9d47c5ef45149eb1249821703860ae0d72 (patch)
tree97f3928a2f233ea4e5ebcc0f74974e461f5fd704 /gnu/java/nio/KqueueSelectionKeyImpl.java
parent724d7c75a6b68352cbd15e2ed15b8d38e2125b03 (diff)
downloadclasspath-b0468b9d47c5ef45149eb1249821703860ae0d72.tar.gz
2006-09-27 Roman Kennke <kennke@aicas.com>
* java/awt/EventQueue.java (Queue): New inner class. Implements the actual queue. (LOW_PRIORITY): New constant field. (NORM_PRIORITY): New constant field. (queueHead): Removed. Moved into Queue. (queueTail): Removed. Moved into Queue. (queues): New field. (EventQueue): Initialize two internal queues, one for normal events, one for low priority events. (getNextEventImpl): New helper method, fetches the next event. (getNextEvent): Use getNextEventImpl() for fetching the event. (peekEvent): Use getNextEventImpl() for fetching the event. (peekEvent(int)): Search for event in all queues. (postEventImpl(AWTEvent)): Moved actual posting into postEventImpl(AWTEvent,int). Prioritize events here. (postEventImpl(AWTEvent,int)): Take priority parameter and insert event into correct queue. Re-enable event coalescing. * gnu/java/awt/LowPriorityEvent.java: New marker interface. * javax/swing/RepaintManager.java (RepaintWorkerEvent): New internal class. This is a low priority event for the repaint worker. (addDirtyRegion): Use new internal invokeLater() for sending a low priority event. (addInvalidComponent): Use new internal invokeLater() for sending a low priority event. (commitBuffer): Added some null checks. (invokeLater): New helper method. Sends a low priority repaint worker event on the event queue.
Diffstat (limited to 'gnu/java/nio/KqueueSelectionKeyImpl.java')
0 files changed, 0 insertions, 0 deletions