com.ibm.etools.iseries.rse.util.clprompter
Class ClScrollBarListener
java.lang.Object
KeyAdapter
com.ibm.etools.iseries.rse.util.clprompter.ClScrollBarListener
public class ClScrollBarListener
- extends KeyAdapter
This class is used to ensure that when focus is placed on a field (by tabbing or clicking on it,
the field is displayed. If the field is not, the the composite is scrolled so that the widget appears.
It also handles scrolling when the page up and down keys are pressed.
- Since:
- 5.1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClScrollBarListener
public ClScrollBarListener(Object control)
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
keyPressed
public void keyPressed(KeyEvent e)
- Handles page up and down keys
- Since:
- 6.0
- See Also:
KeyListener
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.