public interface ScrollingModelEx extends ScrollingModel
ScrollingModel
with more implementation-specific functionality.Modifier and Type | Method and Description |
---|---|
void |
accumulateViewportChanges()
Asks current model to avoid changing viewport position and just remember it instead.
|
void |
flushViewportChanges()
Does nothing if
accumulateViewportChanges() is called before it or if no requests for viewport location
change arrived since the last time accumulateViewportChanges() is called. |
addVisibleAreaListener, disableAnimation, enableAnimation, getHorizontalScrollOffset, getVerticalScrollOffset, getVisibleArea, getVisibleAreaOnScrollingFinished, removeVisibleAreaListener, runActionOnScrollingFinished, scroll, scrollHorizontally, scrollTo, scrollToCaret, scrollVertically
void accumulateViewportChanges()
flushViewportChanges()
processing.void flushViewportChanges()
accumulateViewportChanges()
is called before it or if no requests for viewport location
change arrived since the last time accumulateViewportChanges()
is called.
Applies remembered viewport location change request to the editor.