org.xnap.gui.component
Class CompletionPopup.SizeHandler

java.lang.Object
  extended by java.awt.event.ComponentAdapter
      extended by org.xnap.gui.component.CompletionPopup.SizeHandler
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener
Enclosing class:
CompletionPopup

public class CompletionPopup.SizeHandler
extends java.awt.event.ComponentAdapter

Listens for size changes of the text component and updates the popup's width appropriately. This makes only sense for JTextFields.


Constructor Summary
CompletionPopup.SizeHandler()
           
 
Method Summary
 void componentResized(java.awt.event.ComponentEvent e)
           
 
Methods inherited from class java.awt.event.ComponentAdapter
componentHidden, componentMoved, componentShown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompletionPopup.SizeHandler

public CompletionPopup.SizeHandler()
Method Detail

componentResized

public void componentResized(java.awt.event.ComponentEvent e)
Specified by:
componentResized in interface java.awt.event.ComponentListener
Overrides:
componentResized in class java.awt.event.ComponentAdapter


Copyright © 2001-2005 XNap Team. All Rights Reserved.