Interface AutoRefreshSupport
-
- All Known Implementing Classes:
DefaultAutoRefreshSupport
public interface AutoRefreshSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetInterval()booleanisEnabled()voidsetEnabled(boolean value)voidsetInterval(long secondsToWait)Sets the interval in seconds you have to wait until the next refresh is invoked.booleantoggle()Toggles isEnabled and returns the new value.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
-
setEnabled
void setEnabled(boolean value)
-
toggle
boolean toggle()
Toggles isEnabled and returns the new value.- Returns:
- the value you would get from
isEnabled().
-
setInterval
void setInterval(long secondsToWait)
Sets the interval in seconds you have to wait until the next refresh is invoked.- Parameters:
secondsToWait- the delay until the next refresh is performed (in seconds).
-
getInterval
long getInterval()
-
-