Quaqua 8.0 2011-10-02

ch.randelshofer.quaqua
Class QuaquaComboBoxUI.GlowFocusHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler
      extended by ch.randelshofer.quaqua.QuaquaComboBoxUI.GlowFocusHandler
All Implemented Interfaces:
java.awt.event.FocusListener, java.util.EventListener
Enclosing class:
QuaquaComboBoxUI

public class QuaquaComboBoxUI.GlowFocusHandler
extends javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler

This listener hides the popup when the focus is lost. It also repaints when focus is gained or lost. This public inner class should be treated as protected. Instantiate it only within subclasses of BasicComboBoxUI.


Constructor Summary
QuaquaComboBoxUI.GlowFocusHandler()
           
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaComboBoxUI.GlowFocusHandler

public QuaquaComboBoxUI.GlowFocusHandler()
Method Detail

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener
Overrides:
focusGained in class javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener
Overrides:
focusLost in class javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.