X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FBackend.java;h=66c7cf3567a1200ec4dc4a54b6bccdd1273f7604;hb=05dbb28d6e8613216f43e8d0fae487c1d9c2fcd3;hp=d7ef9119eefbe624ceb325995d6da0b1dff37401;hpb=217c61076c63ba87b64921bb072ccad72ecc5298;p=fanfix.git diff --git a/src/jexer/backend/Backend.java b/src/jexer/backend/Backend.java index d7ef911..66c7cf3 100644 --- a/src/jexer/backend/Backend.java +++ b/src/jexer/backend/Backend.java @@ -33,6 +33,7 @@ package jexer.backend; import java.util.List; + import jexer.event.TInputEvent; import jexer.io.Screen; import jexer.session.SessionInfo; @@ -64,7 +65,8 @@ public abstract class Backend { * Subclasses must provide an implementation to get keyboard, mouse, and * screen resize events. * - * @param timeout maximum amount of time to wait for an event + * @param timeout maximum amount of time (in millis) to wait for an + * event. 0 means to return immediately, i.e. perform a poll. * @return events received, or an empty list if the timeout was reached */ abstract public List getEvents(int timeout);