Various types of content material can be downloaded from your server to a Scene Graph SceneGraph application. Many of the renderable nodes include a
uri field that allows you specify the URI of a graphical image file or other content on your server. Setting this field causes the node to automatically download the content to the Scene Graph SceneGraph node, and for graphical images, be rendered on the display screen according the configuration of the node.
Generally, you'll want to download dynamic content for your application from your server. But to simply illustrate how to set up a ContentNode node for a node requiring data, the following shows setting a ContentNode node as a child of a LabelList node requiring the data using the
role attribute. The example makes clear the hierarchal relationship required for the
content field of a LabelList node, with a parent ContentNode node and several child ContentNode nodes for the list item text. The
role attribute automatically assigns the ContentNode node to the
content field of the LabelList node, and the Scene Graph SceneGraph application shows the text strings in the child ContentNode nodes as the items of the list.