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