diff options
Diffstat (limited to 'src/newt/classes/com/jogamp')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/util/EDTUtil.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/util/EDTUtil.java b/src/newt/classes/com/jogamp/newt/util/EDTUtil.java index d1a11a788..4493e2781 100644 --- a/src/newt/classes/com/jogamp/newt/util/EDTUtil.java +++ b/src/newt/classes/com/jogamp/newt/util/EDTUtil.java @@ -49,9 +49,19 @@ package com.jogamp.newt.util; */ public interface EDTUtil { - public static final long defaultEDTPollGranularity = 10; // 10ms, 1/100s + public static final long defaultEDTPollPeriod = 10; // 10ms, 1/100s /** + * @return poll period in milliseconds + */ + public long getPollPeriod(); + + /** + * @param ms poll period in milliseconds + */ + public void setPollPeriod(long ms); + + /** * Create a new EDT. One should invoke <code>reset()</code><br> * after <code>invokeStop(..)</code> in case another <code>start()</code> or <code>invoke(..)</code> * is expected. |