Interface ButtonGroupListener

    • Method Detail

      • buttonAdded

        default void buttonAdded​(ButtonGroup buttonGroup,
                                 Button button)
        Called when a button has been added to a button group.
        Parameters:
        buttonGroup - The button group that has changed.
        button - The button that was added to the group.
      • buttonRemoved

        default void buttonRemoved​(ButtonGroup buttonGroup,
                                   Button button)
        Called when a button has been removed from a button group.
        Parameters:
        buttonGroup - The button group that has changed.
        button - The button that was removed from the group.
      • selectionChanged

        default void selectionChanged​(ButtonGroup buttonGroup,
                                      Button previousSelection)
        Called when a button group's selection has changed.
        Parameters:
        buttonGroup - The button group that changed.
        previousSelection - The previously selected button in the group.