111
8
CHAPTER 8
The JavaBeans API
This chapter explains the APIs for JavaBeans; the
MMJB*()
functions are JavaScript hooks that
invoke Java introspection calls for JavaBeans support. These functions get class names,
methods, properties, and events from the JavaBeans, which can appear in the Dreamweaver
user interface (UI). To use these JavaScript functions and let Macromedia Dreamweaver 8
access your JavaBeans, the JavaBeans must reside in the Configuration/Classes folder.
The JavaBeans API
The following functions are methods of the
MMJB
object.
MMJB.getClasses()
Availability
Dreamweaver UltraDev 4.
Description
This function reads all the JavaBeans class names from the Configuration/Classes folder.
Arguments
None.
Returns
A string array of class names that are located in Configuration/Classes folder; an error returns
an empty array.
NO
TE
The function arguments described in this chapter sometimes contain an argument called
packageName.className
, which is intended to represent a single value.
000_DW_API_Print.book Page 111 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...