public interface IScrollLockStateProvider
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoScrollLock()
Returns the auto-scroll lock state.
|
boolean |
getScrollLock()
Returns the scroll lock state that got explicitly set by the user, e.g.
|
void |
setAutoScrollLock(boolean scrollLock)
Sets the auto-scroll lock state, e.g. when the user moves the caret
upwards in a console.
|
void |
setScrollLock(boolean scrollLock)
Sets the scroll lock state that got explicitly set by the user, e.g. by
pressing a button that controls the state.
|
void setScrollLock(boolean scrollLock)
scrollLock
- true
to turn scroll lock on, otherwise
false
boolean getScrollLock()
true
if scroll lock is on, false
otherwisevoid setAutoScrollLock(boolean scrollLock)
scrollLock
- true
to turn auto-scroll lock on,
otherwise false
boolean getAutoScrollLock()
true
if auto-scroll lock is on, false
otherwisesetAutoScrollLock(boolean)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.