how to get mouse event from button handle javafx code example Example: mouse handler javafx public final double getY()