ToggleAction

class ToggleAction(definition: Command, val selectedProperty: BooleanProperty, val lambda: (ActionEvent) -> Unit?) : Action

A ToggleAction is a Action with an extra selectedProperty. Used with ToggleButton and ToggleMenuItem, where their selectedProperty is bound bidirectionally to this one.

Constructors

Link copied to clipboard
constructor(definition: Command, selectedProperty: BooleanProperty, lambda: (ActionEvent) -> Unit?)

Properties

Link copied to clipboard
Link copied to clipboard

Should this action consume the event, which prevents other event handlers firing?

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String