So in the place where I create the UI I configure ...
# tornadofx
e
So in the place where I create the UI I configure the icon for the button, bind the disabled state and configure what action should be called when the button is clicked.