Module java.desktop

Interface FocusListener

    • Method Summary

      Modifier and Type Method Description
      void focusGained​(FocusEvent e)
      Invoked when a component gains the keyboard focus.
      void focusLost​(FocusEvent e)
      Invoked when a component loses the keyboard focus.
    • Method Detail

      • focusGained

        void focusGained​(FocusEvent e)
        Invoked when a component gains the keyboard focus.
        Parameters:
        e - the event to be processed
      • focusLost

        void focusLost​(FocusEvent e)
        Invoked when a component loses the keyboard focus.
        Parameters:
        e - the event to be processed