111
CHAPTER 9
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 MX 2004 access your
JavaBeans, the JavaBeans must reside in the Configuration/Classes folder.
Note:
The function arguments described in this chapter sometimes contain an argument called
packageName.className
, which is intended to represent a single value.
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.
MMJB.getClassesFromPackage()
Availability
Dreamweaver UltraDev 4.
Description
This function reads all the JavaBeans classes from the package.
000_DW_API_Print.book Page 111 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...