Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.clprompter
Class ClScrollBarListener

java.lang.Object
  extended by KeyAdapter
      extended by 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

Constructor Summary
ClScrollBarListener(Object control)
           
 
Method Summary
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
 void keyPressed(KeyEvent e)
          Handles page up and down keys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClScrollBarListener

public ClScrollBarListener(Object control)
Method Detail

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

Rational Developer for Power Systems Software
V7.6

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.