| Package | Description |
|---|---|
| org.dominokit.domino.ui.forms |
| Modifier and Type | Method and Description |
|---|---|
SwitchButton |
SwitchButton.addChangeHandler(HasChangeHandlers.ChangeHandler<? super Boolean> changeHandler) |
SwitchButton |
SwitchButton.check()
Change the component to its checked state
|
SwitchButton |
SwitchButton.check(boolean silent)
Change the component to its checked state without triggering change handlers
|
SwitchButton |
SwitchButton.clear()
Clears the field value and trigger the change handlers
|
static SwitchButton |
SwitchButton.create() |
static SwitchButton |
SwitchButton.create(String label,
String onOffTitle) |
static SwitchButton |
SwitchButton.create(String label,
String offTitle,
String onTitle) |
SwitchButton |
SwitchButton.removeChangeHandler(HasChangeHandlers.ChangeHandler<? super Boolean> changeHandler) |
SwitchButton |
SwitchButton.setCheckedReadonlyLabel(String checkedReadonlyLabel)
Set the label when the state is ON but the switch is readonly
|
SwitchButton |
SwitchButton.setColor(Color color)
Sets the color of the Switch when it is ON
|
SwitchButton |
SwitchButton.setOffTitle(String offTitle) |
SwitchButton |
SwitchButton.setOnTitle(String onTitle) |
SwitchButton |
SwitchButton.setReadOnly(boolean readOnly)
set the readonly attribute value
|
SwitchButton |
SwitchButton.setUnCheckedReadonlyLabel(String unCheckedReadonlyLabel)
Set the label when the state is OFF but the switch is readonly
|
SwitchButton |
SwitchButton.uncheck()
Change the component to its unchecked state
|
SwitchButton |
SwitchButton.uncheck(boolean silent)
Change the component to its unchecked state without triggering change handlers
|
SwitchButton |
SwitchButton.value(Boolean value)
set the filed value
|
Copyright © 2019–2022 Dominokit. All rights reserved.