-
- All Implemented Interfaces:
public abstract class ButtonBase<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanactiveprivate List<ButtonBase<T>>sameGroupButtonsprivate TassociatedValueprivate ButtonAPIbuttonprivate BooleanisRadio
-
Constructor Summary
Constructors Constructor Description ButtonBase(T associatedValue, ButtonAPI button, Boolean isRadio)
-
Method Summary
Modifier and Type Method Description final BooleangetActive()final UnitsetActive(Boolean active)final List<ButtonBase<T>>getSameGroupButtons()final UnitsetSameGroupButtons(List<ButtonBase<T>> sameGroupButtons)final TgetAssociatedValue()final UnitsetAssociatedValue(T associatedValue)final ButtonAPIgetButton()final UnitsetButton(ButtonAPI button)final BooleanisRadio()final UnitsetRadio(Boolean isRadio)UnitexecuteCallbackIfChecked()final Unitcheck()final Unitdisable()final Unitenable()final Unituncheck()abstract UnitonActivate()-
-
Method Detail
-
getSameGroupButtons
final List<ButtonBase<T>> getSameGroupButtons()
-
setSameGroupButtons
final Unit setSameGroupButtons(List<ButtonBase<T>> sameGroupButtons)
-
getAssociatedValue
final T getAssociatedValue()
-
setAssociatedValue
final Unit setAssociatedValue(T associatedValue)
-
getButton
final ButtonAPI getButton()
-
executeCallbackIfChecked
Unit executeCallbackIfChecked()
-
onActivate
abstract Unit onActivate()
-
-
-
-