| Package | Description |
|---|---|
| com.codename1.properties |
High level property objects that allow us to replace getters/setters in business objects with more convenient
storage/parsing mappings while retaining type safety.
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UiBinding.RadioListAdapter.assignTo(PropertyType value,
RadioButton[] cmp) |
void |
UiBinding.RadioListAdapter.bindListener(RadioButton[] cmp,
ActionListener<ActionEvent> l) |
PropertyType |
UiBinding.RadioListAdapter.getFrom(RadioButton[] cmp) |
void |
UiBinding.RadioListAdapter.removeListener(RadioButton[] cmp,
ActionListener<ActionEvent> l) |
| Modifier and Type | Method and Description |
|---|---|
static RadioButton |
RadioButton.createToggle(Command cmd,
ButtonGroup bg)
Shorthand for creating the radio button, adding it to a group, setting the command and making it into
a toggle button
|
static RadioButton |
RadioButton.createToggle(Image icon,
ButtonGroup bg)
Shorthand for creating the radio button, adding it to a group, setting the icon/text and making it into
a toggle button
|
static RadioButton |
RadioButton.createToggle(String text,
ButtonGroup bg)
Shorthand for creating the radio button, adding it to a group, setting the icon/text and making it into
a toggle button
|
static RadioButton |
RadioButton.createToggle(String text,
Image icon,
ButtonGroup bg)
Shorthand for creating the radio button, adding it to a group, setting the icon/text and making it into
a toggle button
|
RadioButton |
ButtonGroup.getRadioButton(int index)
Returns the radio button at the given group index
|
RadioButton |
ButtonGroup.getSelected()
Return the selected radio button within the group
|
| Modifier and Type | Method and Description |
|---|---|
void |
ButtonGroup.add(RadioButton rb)
Adds a RadioButton to the group
|
void |
ButtonGroup.addAll(RadioButton... rb)
Adds the RadioButtons to the group
|
void |
ButtonGroup.remove(RadioButton rb)
removes a RadioButton from the group
|
void |
ButtonGroup.setSelected(RadioButton rb)
Selects the given radio button
|
| Constructor and Description |
|---|
ButtonGroup(RadioButton... rb)
Adds all the radio buttons to the group
|
Copyright © 2021. All rights reserved.