fun <T : Node> T.onHover(onHover: (Boolean) -> Unit): <ERROR CLASS>
This extension function will make sure that the given onHover function will always be calles when ever the hoverProperty of the given node changes.