|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2014 IBM Corporation and others. |
2 |
* Copyright (c) 2014, 2015 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 25-31
Link Here
|
| 25 |
public interface IScrollLockStateProvider { |
25 |
public interface IScrollLockStateProvider { |
| 26 |
|
26 |
|
| 27 |
/** |
27 |
/** |
| 28 |
* Sets the scroll lock state. |
28 |
* Sets the scroll lock state set by user manually. |
| 29 |
* |
29 |
* |
| 30 |
* @param scrollLock <code>true</code> to turn scroll lock on, otherwise |
30 |
* @param scrollLock <code>true</code> to turn scroll lock on, otherwise |
| 31 |
* <code>false</code> |
31 |
* <code>false</code> |
|
Lines 33-42
Link Here
|
| 33 |
public void setScrollLock(boolean scrollLock); |
33 |
public void setScrollLock(boolean scrollLock); |
| 34 |
|
34 |
|
| 35 |
/** |
35 |
/** |
| 36 |
* Returns the scroll lock state. |
36 |
* Sets the scroll lock state for the current page automatically due to |
|
|
37 |
* user's action on console page. |
| 38 |
* |
| 39 |
* @param scrollLock <code>true</code> to turn scroll lock on, otherwise |
| 40 |
* <code>false</code> |
| 41 |
*/ |
| 42 |
public void setAutoScrollLock(boolean scrollLock); |
| 43 |
|
| 44 |
/** |
| 45 |
* Returns the scroll lock state of the current page set by user manually. |
| 37 |
* |
46 |
* |
| 38 |
* @return <code>true</code> if scroll lock is on, <code>false</code> |
47 |
* @return <code>true</code> if scroll lock is on, <code>false</code> |
| 39 |
* otherwise |
48 |
* otherwise |
| 40 |
*/ |
49 |
*/ |
| 41 |
public boolean getScrollLock(); |
50 |
public boolean getScrollLock(); |
|
|
51 |
|
| 52 |
/** |
| 53 |
* Returns the scroll lock state of the Page which was manually set by user |
| 54 |
* or automatically set due to user's action on console page. |
| 55 |
* |
| 56 |
* @return <code>true</code> if scroll lock is on, <code>false</code> |
| 57 |
* otherwise |
| 58 |
*/ |
| 59 |
public boolean getAutoScrollLock(); |
| 42 |
} |
60 |
} |