git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More PMD warnings
[fanfix.git]
/
src
/
jexer
/
backend
/
Backend.java
diff --git
a/src/jexer/backend/Backend.java
b/src/jexer/backend/Backend.java
index d1863288c54dabd8dfe4f0bb5b59f9356397db8b..20efa7eeaec8ad913387a4a546dcab512f41d512 100644
(file)
--- a/
src/jexer/backend/Backend.java
+++ b/
src/jexer/backend/Backend.java
@@
-60,6
+60,13
@@
public interface Backend {
*/
public void flushScreen();
*/
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.
/**
* Classes must provide an implementation to get keyboard, mouse, and
* screen resize events.