Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: found and replaced Scene Graph with SceneGraph (no space)

...

Lists and grids are important screen elements for the application user interface. Lists and grids allow the user to choose from a selection of items that, for example, can include the title of movie to rent or purchase, and a graphic image of the theater poster for the movie. The Scene Graph SceneGraph API allows you to include several data items for each item in the list or grid, such as the price to rent or buy the movie, and to display this information to the user when the user selects the item.

...

The following are the list and grid node classes supplied by Roku as part of the Scene Graph SceneGraph API:

...

For grids, the index starts at 0 for the item at the top left corner of the grid, and increments for each item to the right in the grid row, and when the end of a row is reached, increments for the left-most item in the next lower row, and continues incrementing from left to right and top to bottom for each row in the grid. For example, if you specified a 3-column grid (by setting the numColumns field to 3 as described in List and Grid Layout Options), the index would increment as follows:

Scene Graph SceneGraph also provides another type of list/grid node class, RowList, that combines aspects of both lists and grids. See RowList Node Class for information about this hybrid node class.

...