Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
GUI applications can get messy, the classes in this package help reduce the messiness when defining Buttons, ToggleButtons, PropertyRadioButtons, Menus, MenuItems, SubMenus, ToggleMenuItem. It also simplifies keyboard shortcuts.
Link copied to clipboard
class PropertyRadioAction<V, P : Property<V>>(val property: P, definition: Command, val value: V, val lambda: (ActionEvent) -> Unit?) : Action
For use with PropertyRadioButtons and PropertyRadioMenuItems.
Link copied to clipboard
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.
Link copied to clipboard
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.