View

Content objects link a Task to a view of the Task.

The Simulation Assistant API uses subclasses of Content to determine the correct TaskContentView for rendering the Task. Typical Content-derivative choices include HTMLFileContent, which points to a complete XHTML file to be displayed, and HTMLFragmentContent, which contains a snippet of XHTML to display for the task.

In more advanced situations, you can use a Java UI component such as a JPanel to represent the Task. Write a custom Content-derivative and a custom TaskContentView-derivative, and register the new combination in TaskContentLoader.