Documentation Archive Developer
Search
Table of Contents Previous Section

The Object Browser

The bottom part of the component window is the object browser, which displays your application's variables and methods. This display provides a graphical method of binding objects in your code to dynamic elements in the component.

The first column of the object browser displays two types of objects:

A ">" next to an object's name in the browser indicates that it contains additional keys and actions, which are displayed in the next column when you select it.

In the figure, for example, the session object is selected, showing that there are keys and actions defined in the session code. One of these, selectedSailboards, is an array (indicated by the ">>"), and the array's count method is displayed in the next column.

Note that if you point to a key, WebObjects Builder displays its type.

When you create a new project, the only items that appear in the object browser are application and session (unless you use the Wizard to create a database application). These are methods that allow you to access variables in your application and session code.

There are several ways to add items to the object browser:

Table of Contents Next Section