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
A Command defines what should happen when a GUI element is pressed
, without being associated with a particular node.
Link copied to clipboard
A group of many Commands.
Link copied to clipboard
class PropertyRadioCommand<V, P : Property<V>>(val property: P, definition: Action, val value: V, lambda: (ActionEvent) -> Unit?) : Command
For use with PropertyRadioButtons and PropertyRadioMenuItems.
Link copied to clipboard
class PropertyToggleCommand<V, P : Property<V?>>(val property: P, definition: Action, val value: V, lambda: (ActionEvent) -> Unit?) : Command
For use with PropertyToggleButtons and PropertyToggleMenuItems.
Link copied to clipboard
class ToggleCommand(definition: Action, val selectedProperty: BooleanProperty, lambda: (ActionEvent) -> Unit?) : Command
A ToggleCommand is a Command with an extra selectedProperty. Used with ToggleButton and ToggleMenuItem, where their selectedProperty
is bound bidirectionally to this one.