MenuCell
Boolean
Boolean
SdlArtwork
MenuSelectionListener
SdlArtwork
String
Array.<MenuCell>
MenuLayout
String
String
Array.<String>
Boolean
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
MenuCell
Creates a deep copy of the object
Kind: Instance method of MenuCell
Returns: MenuCell
- A deep copy of the object
Boolean
Checks 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 |
Boolean
Checks 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 |
SdlArtwork
Gets the icon of the menu cell
Kind: Instance method of MenuCell
Returns: SdlArtwork
- The cell's icon to be displayed
MenuSelectionListener
Gets the menu listener of the menu cell
Kind: Instance method of MenuCell
Returns: MenuSelectionListener
- The listener for when a menu item is selected
SdlArtwork
Gets the secondary artwork of the menu cell
Kind: Instance method of MenuCell
Returns: SdlArtwork
- The secondary artwork
String
Gets 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
MenuLayout
Gets 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.
String
Gets the tertiary text of the menu cell
Kind: Instance method of MenuCell
Returns: String
- The tertiary text
String
Gets 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
Boolean
Checks whether this cell can support subcells
Kind: Instance method of MenuCell
Returns: Boolean
- Whether subcells are supported
MenuCell
Sets 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 |
MenuCell
Sets 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 |
MenuCell
Sets 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 |
MenuCell
Sets 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 |
MenuCell
Sets 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 |
MenuCell
Sets 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. |
MenuCell
Sets 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 |
MenuCell
Sets 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 |
MenuCell
Sets 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 |