ToggleAction

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