[9:7] extends: object
JavaFX ButtonBase class implements various button related functions.
onClick (callback OnClick
)
Sets the on click handler with the provided callback.
OnClick
is a callback with the function reference to call on click.this
object.