ToggleCommand

constructor(definition: Action, selectedProperty: BooleanProperty, lambda: (ActionEvent) -> Unit?)