Class TfFileSelectorListener

  • All Implemented Interfaces:
    FileSelectorListener

    public class TfFileSelectorListener
    extends java.lang.Object
    implements FileSelectorListener
    * This class tells the Mediator to check the length of the 3 text fields and adjust whether the 3 buttons are enabeld or not. // * @see TfFileSelectorEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private PrefsMediator med
      The med.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fileSelected​(javax.swing.JComponent source, java.lang.String fileString)
      File selected.
      • Methods inherited from class java.lang.Object

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

      • TfFileSelectorListener

        public TfFileSelectorListener​(PrefsMediator med)
        Instantiates a new tf file selector listener.
        Parameters:
        med - the med
    • Method Detail

      • fileSelected

        public boolean fileSelected​(javax.swing.JComponent source,
                                    java.lang.String fileString)
        Description copied from interface: FileSelectorListener
        File selected.
        Specified by:
        fileSelected in interface FileSelectorListener
        Parameters:
        source - the source
        fileString - the file string
        Returns:
        true, if successful