|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbluej.extensions.BlueJ
A proxy object which provides services to BlueJ extensions. From this class an extension can obtain the projects and packages which BlueJ is currently displayng and the classes and objects they contain. Fields and methods of these objects can be inspected and invoked using an API based on Java's reflection API. Every effort has been made to retain the logic of the Reflection API and to provide methods that behave in a very similar way.
BlueJ
|
+---- BProject
|
+---- BPackage
|
+--------- BClass
| |
+- BObject + BConstructor
| |
| +- BObject
|
+---- BMethod
| |
| +- BObject
|
+---- BField
Attempts to invoke methods on a BlueJ object made by an extension
after its terminate() method has been called will result
in an (unchecked) ExtensionUnloadedException being thrown.
| Method Summary | |
void |
addApplicationListener(ApplicationListener listener)
Registers a listener for application events. |
void |
addCompileListener(CompileListener listener)
Registers a listener for compile events. |
void |
addExtensionEventListener(ExtensionEventListener listener)
Registers a listener for all the events generated by BlueJ. |
void |
addInvocationListener(InvocationListener listener)
Registers a listener for invocation events. |
void |
addPackageListener( |