10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8: Working with List Views andTree ViewsThis section contains the following topics:How You Can Use Listview and Treeview Fields (see page 257)Listview_Treeview_Demo (see page 257)Listview Fields (see page 260)TreeNode and Tree Classes (see page 266)Treeview Fields (see page 269)This chapter describes what you need to know when using listview fields andtreeview fields in your OpenROAD applications.A list view field lets the end user view and optionally manipulate or edit a listof items. A tree view field presents the end user with a hierarchical list of itemsin a tree structure that can be expanded or collapsed.How You Can Use Listview and Treeview FieldsListview fields and treeview fields provide different ways to visually representdata in your application. You use the ListviewField class to create a list view.For example, OpenROAD Workbench uses a listview field to display the lists ofapplications and their components. A treeview field visually represents a tree.It is created using the TreeviewField class and other related classes.The following sections describe how to create listview and treeview fields foruse in your application.For a complete description of the attributes and methods of the ListviewFieldand the TreeViewField classes, see the Language Reference <strong>Guide</strong> online help.Listview_Treeview_DemoBefore proceeding with this chapter, you should import theListview_Treeview_Demo as an application into OpenROAD Workbench. It isthe basis for much of the discussion in this chapter. The following sectionsdescribe how to import it and access it.Working with List Views and Tree Views 257

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!