-
- All Implemented Interfaces:
public interface ButtonGroupActionimplement this interface to tell a button group what action to perform
-
-
Method Summary
Modifier and Type Method Description abstract Unitexecute(List<Object> data, Object selectedButtonData, Object deselectedButtonData)this method will get called when a button in this button group gets clicked by the user UnitonHover()Override this function to perform some kind of action when a button of the group is hovered over -
-
Method Detail
-
execute
abstract Unit execute(List<Object> data, Object selectedButtonData, Object deselectedButtonData)
this method will get called when a button in this button group gets clicked by the user
- Parameters:
data- list of data of all currently active buttons (maybe empty)selectedButtonData- data of the button that was clicked if it was selected (null if button was deselected)deselectedButtonData- data of the button that was clicked if it was deselected (null if button was selected)
-
-
-
-