Apple WebObjects 3.5 Tools And Techniques User Manual
Page 59

Chapter 3
Working With Dynamic Elements
59
The first column of the object browser displays two types of objects:
•
Keys are displayed above the horizontal line. A key can be either an instance
variable or a method that returns a value.
•
Actions are displayed below the line. An action (or action method) is a
method that takes no parameters and returns a component (the next page to
be displayed).
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.