Creates a ComponentHandler for interacting with the specified button.
Creates a ComponentHandler for interacting with the specified button. The handler is of type Boolean; its data corresponds to the selected state of the button.
the button to be wrapped by the handler
a command string to be used when registering action listeners at the component handler
a ComponentHandler for this button
A trait describing a factory object for net.sf.jguiraffe.gui.forms.ComponentHandler instances for JavaFX buttons.
Component handlers for buttons have to be created in multiple places: when constructing the UI of a form, but also for a tool bar. This trait allows reusing the code which implements this functionality without introducing a tight coupling.