Class TfFocusListener

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

    public class TfFocusListener
    extends java.lang.Object
    implements java.awt.event.FocusListener
    This class tells the Mediator to check the lenght of the 3 text fields and adjust whether the 3 buttons are enabeld or not.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void focusGained​(java.awt.event.FocusEvent arg0)  
      void focusLost​(java.awt.event.FocusEvent arg0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • focusGained

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

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