Class TextAreaValueChangedFocusListener

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

    public class TextAreaValueChangedFocusListener
    extends java.lang.Object
    implements java.awt.event.FocusListener
    Listener to automatically remove the default values in text fields and furthermore to trim
    • Method Summary

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

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

      • TextAreaValueChangedFocusListener

        public TextAreaValueChangedFocusListener​(AttributeLabel label,
                                                 AttributeTextArea titleArea,
                                                 java.lang.String defaultString)
    • Method Detail

      • focusGained

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

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