java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Action | |
↳ | android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction |
Known Direct Subclasses |
Known Indirect Subclasses |
Base class for an action comprised of a series of icons.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the number of actions.
| |||||||||||
Returns the drawable at the given index.
| |||||||||||
Returns the current index.
| |||||||||||
Returns the label at the given index.
| |||||||||||
Returns the secondary label at the given index.
| |||||||||||
Increments the index, wrapping to zero once the end is reached.
| |||||||||||
Sets the array of drawables.
| |||||||||||
Sets the current index.
| |||||||||||
Sets the array of strings used as labels.
| |||||||||||
Sets the array of strings used as secondary labels.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v17.leanback.widget.Action
| |||||||||||
From class
java.lang.Object
|
Constructor
id | The id of the Action. |
---|
Returns the number of actions.
Returns the current index.
Increments the index, wrapping to zero once the end is reached.
Sets the array of drawables. The size of the array defines the range of valid indices for this action.
Sets the current index.
Sets the array of strings used as labels. The size of the array defines the range of valid indices for this action. The labels are used to define the accessibility content description unless secondary labels are provided.
Sets the array of strings used as secondary labels. These labels are used in place of the primary labels for accessibility content description only.