@@ -0,0 +1,622 @@
+package moe.tristan.easyfxml.util;%0A%0Aimport javafx.application.Platform;%0Aimport javafx.scene.Node;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.input.MouseEvent;%0A%0Aimport java.util.function.Consumer;%0A%0Apublic final class Buttons %7B%0A%0A    private Buttons() %7B%0A    %7D%0A%0A    public static void setOnClick(final Button button, final Runnable action) %7B%0A        button.addEventFilter(MouseEvent.MOUSE_CLICKED, e -%3E Platform.runLater(action));%0A    %7D%0A%0A    public static void setOnClickWithNode(final Button button, final Node node, final Consumer%3CNode%3E action) %7B%0A        setOnClick(button, () -%3E action.accept(node));%0A    %7D%0A%0A%7D%0A

Add convenience methods for Button on-click event reaction