Class TextFocusHandler

  • All Implemented Interfaces:
    java.awt.event.FocusListener, java.util.EventListener

    public class TextFocusHandler
    extends java.lang.Object
    implements java.awt.event.FocusListener
    The Class TextFocusHandler.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MainFrame main
      The main.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextFocusHandler​(MainFrame frame)
      Instantiates a new text focus handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • main

        private final MainFrame main
        The main.
    • Constructor Detail

      • TextFocusHandler

        public TextFocusHandler​(MainFrame frame)
        Instantiates a new text focus handler.
        Parameters:
        frame - the frame
    • Method Detail

      • focusGained

        public void focusGained​(java.awt.event.FocusEvent e)
        Specified by:
        focusGained in interface java.awt.event.FocusListener
      • focusLost

        public void focusLost​(java.awt.event.FocusEvent e)
        Specified by:
        focusLost in interface java.awt.event.FocusListener