public class FakeButton extends java.lang.Object implements Button
Constructor and Description |
---|
FakeButton()
Creates a FakeButton.
|
FakeButton(java.util.function.BooleanSupplier s)
Creates a FakeButton whose state is controlled by the result of the BooleanSupplier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Gets the value of this Button.
|
void |
set(boolean b)
Sets the status of this Button.
|