java.lang.Object
com.tlcsdm.core.javafx.helper.DropContentHelper
- 作者:
- unknowIfGuestInDream
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T extends javafx.scene.Node>
voidaccept(T node, Predicate<javafx.scene.input.Dragboard> predicate, BiConsumer<T, javafx.scene.input.Dragboard> onAccept) static <T extends javafx.scene.Node>
voidacceptFile(T node, BiConsumer<T, List<File>> onAccept) static <T extends javafx.scene.Node>
voidacceptText(T node, BiConsumer<T, String> onAccept)
-
构造器详细资料
-
DropContentHelper
private DropContentHelper()
-
-
方法详细资料
-
acceptText
-
acceptFile
public static <T extends javafx.scene.Node> void acceptFile(T node, BiConsumer<T, List<File>> onAccept) -
accept
public static <T extends javafx.scene.Node> void accept(T node, Predicate<javafx.scene.input.Dragboard> predicate, BiConsumer<T, javafx.scene.input.Dragboard> onAccept)
-