MenuCellBooleanBooleanSdlArtworkMenuSelectionListenerSdlArtworkStringArray.<MenuCell>MenuLayoutStringStringArray.<String>BooleanMenuCellMenuCellMenuCellMenuCellMenuCellMenuCellMenuCellMenuCellMenuCellMenuCellCreates a deep copy of the object
Kind: Instance method of MenuCell
Returns: MenuCell - A deep copy of the object
BooleanChecks whether two MenuCells can be considered equivalent, but does not compare the unique title
Kind: Instance method of MenuCell
Returns: Boolean - Whether the objects are the same or not
| Param | Type | Description |
|---|---|---|
| other | MenuCell |
The object to compare |
BooleanChecks whether two MenuCells can be considered equivalent, and also compares the unique title
Kind: Instance method of MenuCell
Returns: Boolean - Whether the objects are the same or not
| Param | Type | Description |
|---|---|---|
| other | MenuCell |
The object to compare |
SdlArtworkGets the icon of the menu cell
Kind: Instance method of MenuCell
Returns: SdlArtwork - The cell's icon to be displayed
MenuSelectionListenerGets the menu listener of the menu cell
Kind: Instance method of MenuCell
Returns: MenuSelectionListener - The listener for when a menu item is selected
SdlArtworkGets the secondary artwork of the menu cell
Kind: Instance method of MenuCell
Returns: SdlArtwork - The secondary artwork
StringGets the secondary text of the menu cell
Kind: Instance method of MenuCell
Returns: String - The secondary text
Array.<MenuCell>Gets the sub cells of the menu cell
Kind: Instance method of MenuCell
Returns: Array.<MenuCell> - The list of MenuCells that can be set as subCells
MenuLayoutGets the sub menu layout of the menu cell
Kind: Instance method of MenuCell
Returns: MenuLayout - The submenu's layout that the subCells will be shown in. If `null`, the default submenu
layout set via the screen manager's `MenuConfiguration` will be used.
StringGets the tertiary text of the menu cell
Kind: Instance method of MenuCell
Returns: String - The tertiary text
StringGets the title of the menu cell
Kind: Instance method of MenuCell
Returns: String - The title of the cell object
Array.<String>Gets the voice commands of the menu cell
Kind: Instance method of MenuCell
Returns: Array.<String> - A list of Strings that will be used for voice commands
BooleanChecks whether this cell can support subcells
Kind: Instance method of MenuCell
Returns: Boolean - Whether subcells are supported
MenuCellSets the icon of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| icon | SdlArtwork |
The cell's icon to be displayed |
MenuCellSets the menu listener of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| menuSelectionListener | MenuSelectionListener |
The listener for when a menu item is selected |
MenuCellSets the secondary artwork of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| secondaryArtwork | SdlArtwork |
The secondary artwork |
MenuCellSets the secondary text of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| secondaryText | String |
The secondary text |
MenuCellSets the sub cells of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| subCells | Array.<MenuCell> |
The list of MenuCells that can be set as subCells |
MenuCellSets the sub menu layout of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| subMenuLayout | MenuLayout |
The submenu's layout that the subCells will be shown in. If `null`, the default submenu layout set via the screen manager's `MenuConfiguration` will be used. |
MenuCellSets the tertiary text of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| tertiaryText | String |
The tertiary text |
MenuCellSets the title of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| title | String |
The title of the cell object. Required |
MenuCellSets the voice commands of the menu cell
Kind: Instance method of MenuCell
Returns: MenuCell - A reference to this instance to support method chaining
| Param | Type | Description |
|---|---|---|
| voiceCommands | Array.<String> |
A list of Strings that will be used for voice commands |