org.xnap.gui.util
Class FocusHandler

java.lang.Object
  extended by java.awt.event.ComponentAdapter
      extended by org.xnap.gui.util.FocusHandler
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener

public class FocusHandler
extends java.awt.event.ComponentAdapter

Requests the focus for a given component when its componentShown(ComponentEvent) is called.


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

Constructor Detail

FocusHandler

public FocusHandler(java.awt.Component c)
Method Detail

componentShown

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


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