112
Chapter 9: The JavaBeans API
Arguments
packageName.pathName
•
The
packageName.pathName
argument is the path to the package. It must be a Java JAR or
ZIP Java archive (for example,
C:/jdbcdrivers/Una2000_Enterprise.zip)
.
Returns
A string array of class names inside the particular JAR or ZIP Java archive; an error returns an
empty array.
MMJB.getErrorMessage()
Availability
Dreamweaver UltraDev 4.
Description
This function gets the last error message from Dreamweaver that occurred while using the MMJB
interface.
Arguments
None.
Returns
A string of the Dreamweaver message from the last error.
MMJB.getEvents()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Introspects the JavaBeans class and returns its events.
Arguments
packageName.className
,
{packagePath}
•
The
packageName.className
argument is the name of the class. The class must reside in a
JAR or ZIP Java archive. If
packagePath
is omitted, the archive must reside in your system
classpath
or be a class file that is installed in the Configuration/Classes folder.
•
The
packagePath
argument is an optional string that points to the location of the JAR or ZIP
Java archive that contains
className
.
Returns
A string array of the events associated with
className
; an error returns an empty array.
000_DW_API_Print.book Page 112 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...