Package | Description |
---|---|
ej.widget.composed |
Widgets composed with other widgets.
|
ej.widget.toggle |
Toggle models.
|
ej.widget.util |
Widgets utilities.
|
Modifier and Type | Method and Description |
---|---|
ToggleModel |
ToggleWrapper.getToggle()
Gets the toggle.
|
Constructor and Description |
---|
Toggle(ToggleModel toggleModel,
Box box,
java.lang.String text)
Creates a toggle with the given text to display.
|
Toggle(ToggleModel toggleModel,
Box box,
java.lang.String text,
java.lang.String group)
Creates a toggle with the given text to display.
|
ToggleBox(ToggleModel toggleModel,
Box box)
Creates a toggle box.
|
ToggleBox(ToggleModel toggleModel,
Box box,
java.lang.String group)
Creates a toggle box.
|
ToggleWrapper(ToggleModel toggle)
Creates a toggle button with a referent toggle model.
|
ToggleWrapper(ToggleModel toggle,
java.lang.String group)
Creates a toggle button with a referent toggle model and a group.
|
Modifier and Type | Class and Description |
---|---|
class |
RadioModel
Implementation of a toggle that represents a radio button.
|
Modifier and Type | Method and Description |
---|---|
ToggleModel |
ToggleGroup.getChecked()
Gets the button group's checked toggle, or
null if no toggle is checked. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ToggleModel> |
ToggleGroup.getToggles()
Gets the toggles list.
|
Modifier and Type | Method and Description |
---|---|
void |
ToggleGroup.addToggle(ToggleModel toggle)
Adds a toggle to the group.
|
void |
ToggleGroup.removeToggle(ToggleModel toggle)
Removes a toggle from the group.
|
Modifier and Type | Method and Description |
---|---|
ToggleModel |
ToggleHelper.getToggle()
Gets the toggle.
|
Constructor and Description |
---|
ToggleHelper(GenericListener helperListener,
ToggleModel toggle)
Creates a toggle helper with a referent toggle model.
|
ToggleHelper(GenericListener helperListener,
ToggleModel toggle,
java.lang.String group)
Creates a toggle helper with a referent toggle model and a group.
|