Interface HTGhostWidget.GhostIngredientConsumer

  • All Implemented Interfaces:
    java.util.function.Consumer

    
    public interface HTGhostWidget.GhostIngredientConsumer
     implements Consumer<Any>
                        

    ドラッグ&ドロップの処理を担うインターフェースです。

    Since:

    0.8.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Object supportedTarget(Object ingredient) 指定したingredientから,対応するオブジェクトに変換します。
      • Methods inherited from class java.util.function.Consumer

        accept, andThen
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • supportedTarget

         abstract Object supportedTarget(Object ingredient)

        指定したingredientから,対応するオブジェクトに変換します。

        Returns:

        対応していない場合はnull