gnu.awt.xlib

Class XEventQueue


public class XEventQueue
extends EventQueue

The main difference here from a standard EventQueue is that the X display connection is flushed before waiting for more events.

Constructor Summary

XEventQueue(Display display)

Method Summary

AWTEvent
getNextEvent()
Returns the next event in the queue.

Methods inherited from class java.awt.EventQueue

dispatchEvent, getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, push

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

XEventQueue

public XEventQueue(Display display)

Method Details

getNextEvent

public AWTEvent getNextEvent()
            throws InterruptedException
Returns the next event in the queue. This method will block until an event is available or until the thread is interrupted.
Overrides:
getNextEvent in interface EventQueue
Returns:
The next event in the queue.
Throws:
InterruptedException - If this thread is interrupted while waiting for an event to be posted to the queue.

Copyright (C) 2000 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.