Choosing a button for your application
The BlackBerry 10 SDK for Adobe AIR API contains various button implementations. Each implementation is skinnable and customizable.
The BlackBerry 10 SDK for Adobe AIR API provides the following button types:
| Class | Image | Description |
|---|---|---|
| Button |
|
The Button class is a basic toggle button implementation. It is the base class for all other button types. |
| CheckBox |
|
The CheckBox class is a check box implementation that allows a user to toggle the check mark on and off.. |
| IconButton |
|
The IconButton class defines a button that contains an icon. |
| LabelButton |
|
The LabelButton class defines a button that contains a String. |
| RadioButton |
|
The RadioButton class defines a simple radio button implementation. The radio button remains in the selected state after it is pressed. The listener for the RadioButton runs when a radio button is selected. |
| SegmentedControl |
|
The SegmentedControl class defines a group of interconnected radio buttons that allow a user to select a single option from a group of related choices. |
| ToggleSwitch |
|
The ToggleSwitch class is a simple toggle switch implementation that lets a user drag the switch along a track between two states. |