Interface HandlerHost.Handler

Enclosing interface:
HandlerHost

public static interface HandlerHost.Handler
A transfer handler.
Since:
4.2.426
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(@NotNull CommodityContainer commodities, @Nullable Point location)
    Handle the given transfers.
  • Method Details

    • handle

      void handle(@NotNull @NotNull CommodityContainer commodities, @Nullable @Nullable Point location) throws TransferException
      Handle the given transfers.
      Parameters:
      commodities - A map containing transfer type-mapped commodities.
      location - a Point indicating the Cursor's current location in the Component's coordinates. Location may be null if the transfer has been started automatically.
      Throws:
      TransferException - If the transfer failed for any reason.
      Since:
      4.2.426