public interface ISuspendable
ISuspendable
can have updates suspended/resumed. Useful for batch operationsModifier and Type | Method and Description |
---|---|
void |
decrementSuspend()
Called by
IUpdateSuspender each time a target suspender is disposed. |
boolean |
getIsSuspended()
Gets a value indicating whether updates for the target are currently suspended
|
java.util.concurrent.atomic.AtomicInteger |
getUpdateSuspenderCount()
Gets the counter used to count amount
UpdateSuspender instances associated with current ISuspendable |
void |
resumeUpdates(IUpdateSuspender suspender)
Resumes updates on the target, intended to e called by IUpdateSuspender
|
IUpdateSuspender |
suspendUpdates()
Suspends drawing updated on the target until the returned object is disposed, when a final draw call will be issued
|
boolean getIsSuspended()
IUpdateSuspender suspendUpdates()
IUpdateSuspender
instance which suspends updated until it will be disposedvoid resumeUpdates(IUpdateSuspender suspender)
suspender
- IUpdateSuspender
instance which was created by suspendUpdates()
callvoid decrementSuspend()
IUpdateSuspender
each time a target suspender is disposed. When the final target suspender has been disposed, resumeUpdates(IUpdateSuspender)
is calledjava.util.concurrent.atomic.AtomicInteger getUpdateSuspenderCount()
UpdateSuspender
instances associated with current ISuspendable
UpdateSuspender
instances associated with current ISuspendable