PropertyToggleCommand
class PropertyToggleCommand<V, P : Property<V?>>(val property: P, definition: Action, val value: V, lambda: (ActionEvent) -> Unit?) : Command
For use with PropertyToggleButtons and PropertyToggleMenuItems.