org.xnap.commons.gui.completion
Class CompletionPopup.SizeHandler

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

public class CompletionPopup.SizeHandler
extends 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(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(ComponentEvent e)
Specified by:
componentResized in interface ComponentListener
Overrides:
componentResized in class ComponentAdapter


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.