*/
public void flushScreen();
+ /**
+ * Check if there are events in the queue.
+ *
+ * @return if true, getEvents() has something to return to the application
+ */
+ public boolean hasEvents();
+
/**
* Classes must provide an implementation to get keyboard, mouse, and
* screen resize events.
*/
public void setTitle(final String title);
+ /**
+ * Set listener to a different Object.
+ *
+ * @param listener the new listening object that run() wakes up on new
+ * input
+ */
+ public void setListener(final Object listener);
+
}