DESY ACOP Beans Home

com.cosylab.gui.components
Class ResizableTextField.ResizableKeyAdapter

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by com.cosylab.gui.components.ResizableTextField.ResizableKeyAdapter
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
ResizableTextField

protected class ResizableTextField.ResizableKeyAdapter
extends java.awt.event.KeyAdapter

Listens for KeyEvents and resizes the text if enabled.

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
protected ResizableTextField.ResizableKeyAdapter()
           
 
Method Summary
 void keyReleased(java.awt.event.KeyEvent e)
          Invokes text resizing if enabled while text is typed.
 
Methods inherited from class java.awt.event.KeyAdapter
keyPressed, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableTextField.ResizableKeyAdapter

protected ResizableTextField.ResizableKeyAdapter()
Method Detail

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Invokes text resizing if enabled while text is typed.

Specified by:
keyReleased in interface java.awt.event.KeyListener
Overrides:
keyReleased in class java.awt.event.KeyAdapter
Parameters:
e -
See Also:
KeyListener.keyTyped(java.awt.event.KeyEvent)


Copyright © 2010. All Rights Reserved.