Interface FileDrop.Listener

  • Enclosing class:
    FileDrop
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface FileDrop.Listener
    A simpler listener that may be used as an alternative to FileDrop.DropListener.
    Since:
    1.61
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void filesDropped​(java.io.File[] files)
      Called when one or more files are successfully dropped onto a FileDrop target.
    • Method Detail

      • filesDropped

        void filesDropped​(java.io.File[] files)
        Called when one or more files are successfully dropped onto a FileDrop target.
        Parameters:
        files - a non-null array of one or more files, all of which are acceptable to the listener