public interface AutoRefreshSupport
Modifier and Type | Method and Description |
---|---|
long |
getInterval() |
boolean |
isEnabled() |
void |
setEnabled(boolean value) |
void |
setInterval(long secondsToWait)
Sets the interval in seconds you have to wait until the next refresh is invoked.
|
boolean |
toggle()
Toggles isEnabled and returns the new value.
|
boolean isEnabled()
void setEnabled(boolean value)
boolean toggle()
isEnabled()
.void setInterval(long secondsToWait)
secondsToWait
- the delay until the next refresh is performed (in seconds).long getInterval()
Copyright © 2021. All rights reserved.