Package Summary  Overview Summary

class:BasicComboBoxUI.FocusHandler [NONE]

All Implemented Interfaces:
FocusListener, EventListener
Enclosing class:
BasicComboBoxUI

public class BasicComboBoxUI.FocusHandlerextends Object implements FocusListener
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:BasicComboBoxUI.FocusHandler() [NONE]

  • FocusHandler

    public FocusHandler()
    Constructs a FocusHandler.

method:focusGained(java.awt.event.FocusEvent) [NONE]

  • focusGained

    public void focusGained (FocusEvent e)
    Description copied from interface: FocusListener
    Invoked when a component gains the keyboard focus.
    Specified by:
    focusGained in interface FocusListener
    Parameters:
    e - the event to be processed
  • method:focusLost(java.awt.event.FocusEvent) [NONE]

    focusLost

    public void focusLost (FocusEvent e)
    Description copied from interface: FocusListener
    Invoked when a component loses the keyboard focus.
    Specified by:
    focusLost in interface FocusListener
    Parameters:
    e - the event to be processed

    © 2023 Oracle Corporation and/or its affiliates