| |
|
| java.lang.Object com.icesoft.faces.async.render.GroupAsyncRenderer com.icesoft.faces.async.render.OnDemandRenderer com.icesoft.faces.async.render.IntervalRenderer
IntervalRenderer | public class IntervalRenderer extends OnDemandRenderer implements Runnable(Code) | | The IntervalRenderer is type of
GroupAsyncRenderer that is used to
request a single render pass on a group of Renderables. The render pass is
executed repeatedly on a set interval. The interval is measured from the
start of one render pass to the start of the next render pass so does not
take the time to complete the render pass into account. If the time to
complete the render pass exceeds the interval then the next render pass is
done on a best effort basis. IntervalRenderers can be created and used
directly but it is recommended to use the RenderManager to create and managed
named render groups.
author: ICEsoft Technologies, Inc. See Also: RenderManager, GroupAsyncRenderer |
dispose | public void dispose()(Code) | | |
getInterval | public long getInterval()(Code) | | Get the currently specified interval. If no interval has been explicitly
set, then the default interval value (60000 ms) is used.
The current interval value in ms. |
requestRender | public void requestRender()(Code) | | Schedules a render pass on the group of Renderables using the interval
value specified using
IntervalRenderer.setInterval .
|
requestStop | public void requestStop()(Code) | | |
setInterval | public void setInterval(long interval)(Code) | | Set the interval to wait before executing the next render pass. Once the
rendering has been started, setting the interval has no effect.
Parameters: interval - The time in ms to wait before starting the next renderpass. |
|
|
|