com.ibm.richtext.textpanel
Class KeyEventForwarder

java.lang.Object
  |
  +--com.ibm.richtext.textpanel.KeyEventForwarder

public final class KeyEventForwarder
extends java.lang.Object

This class forwards key events to a TextPanel component for testing purposes. Its sole reason for existence is to prevent the key-event API from being public on MTextPanel, and being mistaken for standard API. This class is only for testing! It may be removed from public API at any time. Do not depend on this class.


Constructor Summary
KeyEventForwarder(JTextPanel textPanel)
           
KeyEventForwarder(TextPanel textPanel)
           
 
Method Summary
 void handleKeyEvent(java.awt.event.KeyEvent keyEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyEventForwarder

public KeyEventForwarder(TextPanel textPanel)

KeyEventForwarder

public KeyEventForwarder(JTextPanel textPanel)
Method Detail

handleKeyEvent

public void handleKeyEvent(java.awt.event.KeyEvent keyEvent)


Copyright (c) 1998-2000 IBM Corporation and others.