- java.lang.Object
-
- io.github.mmm.ui.test.TestToggleGroup
-
- All Implemented Interfaces:
UiToggleGroup
public class TestToggleGroup extends Object implements UiToggleGroup
Implementation ofUiToggleGroup
for testing.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TestToggleGroup()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TestAbstractRadioButton radioButton)
Set<TestAbstractRadioButton>
getGroup()
void
remove(TestAbstractRadioButton radioButton)
void
update(TestAbstractRadioButton radioButton)
-
-
-
Method Detail
-
getGroup
public Set<TestAbstractRadioButton> getGroup()
- Specified by:
getGroup
in interfaceUiToggleGroup
- Returns:
- the native toggle group from the underlying toolkit.
-
add
public void add(TestAbstractRadioButton radioButton)
- Parameters:
radioButton
- theTestAbstractRadioButton
to add.
-
remove
public void remove(TestAbstractRadioButton radioButton)
- Parameters:
radioButton
- theTestAbstractRadioButton
to remove.
-
update
public void update(TestAbstractRadioButton radioButton)
- Parameters:
radioButton
- theTestAbstractRadioButton
that has just updated itsselected flag
.
-
-