A B C E F G I L M N O P R S T U V

A

APP_READY_EVENT - Static variable in class bluej.extensions.event.ApplicationEvent
Event generated when the BlueJ application is initialised and ready.
ApplicationEvent - class bluej.extensions.event.ApplicationEvent.
This class encapsulates BlueJ application events.
ApplicationEvent(int) - Constructor for class bluej.extensions.event.ApplicationEvent
Constructs an ApplicationEvent
ApplicationListener - interface bluej.extensions.event.ApplicationListener.
This interface allows you to listen for application events.
addApplicationListener(ApplicationListener) - Method in class bluej.extensions.BlueJ
Registers a listener for application events.
addCompileListener(CompileListener) - Method in class bluej.extensions.BlueJ
Registers a listener for compile events.
addExtensionEventListener(ExtensionEventListener) - Method in class bluej.extensions.BlueJ
Registers a listener for all the events generated by BlueJ.
addInvocationListener(InvocationListener) - Method in class bluej.extensions.BlueJ
Registers a listener for invocation events.
addPackageListener(PackageListener) - Method in class bluej.extensions.BlueJ
Registers a listener for package events.
addToBench(String) - Method in class bluej.extensions.BObject
Adds this object on the object bench.

B

BArray - class bluej.extensions.BArray.
A wrapper for an array object in BlueJ.
BArray() - Constructor for class bluej.extensions.BArray
 
BClass - class bluej.extensions.BClass.
A wrapper for a BlueJ class.
BConstructor - class bluej.extensions.BConstructor.
A wrapper for a constructor of a BlueJ class.
BField - class bluej.extensions.BField.
A wrapper for a field of a BlueJ class.
BMethod - class bluej.extensions.BMethod.
A wrapper for a method of a BlueJ class.
BObject - class bluej.extensions.BObject.
A wrapper for an object on the BlueJ object bench.
BPackage</B> - class bluej.extensions.BPackage.
A wrapper for a single package of a BlueJ project.
BProject - class bluej.extensions.BProject.
A wrapper for a BlueJ project.
BlueJ - class bluej.extensions.BlueJ.
A proxy object which provides services to BlueJ extensions.
beginChangeSource() - Method in class bluej.extensions.BClass
Signal to BlueJ that an extension is about to begin changing the source file of this class.
blueJReady(ApplicationEvent) - Method in interface bluej.extensions.event.ApplicationListener
This method will be called when the BlueJ application is initialised.
bluej.extensions.event - package bluej.extensions.event
Provides the event mechanism for extensions to track some of the things that are going on in BlueJ.

C

COMPILE_DONE_EVENT - Static variable in class bluej.extensions.event.CompileEvent
Event generated when a compilation finishes successfully.
COMPILE_ERROR_EVENT - Static variable in class bluej.extensions.event.CompileEvent
Event generated when a compilation error occurs.
COMPILE_FAILED_EVENT - Static variable in class bluej.extensions.event.CompileEvent
Event generated when a compilation finishes unsuccessfully.
COMPILE_START_EVENT - Static variable in class bluej.extensions.event.CompileEvent
Event generated when compilation begins.
COMPILE_WARNING_EVENT - Static variable in class bluej.extensions.event.CompileEvent
Event generated when a compilation warning occurs.
ClassNotFoundException - exception bluej.extensions.ClassNotFoundException.
This exception will be thrown when a reference to a class is no longer valid.
CompilationNotStartedException - exception bluej.extensions.CompilationNotStartedException.
This exception will be thrown when a compile request cannot be started.
CompileEvent - class bluej.extensions.event.CompileEvent.
This class encapsulates compiler events.
CompileEvent(int, File[]) - Constructor for class bluej.extensions.event.CompileEvent
Constructor for a CompileEvent.
CompileListener - interface bluej.extensions.event.CompileListener.
This interface allows you to listen for compile events.
close() - Method in class bluej.extensions.BProject
Saves any open files, then closes all frames belonging to this project.
compile(boolean) - Method in class bluej.extensions.BClass
Compile this class, and any dependents.
compile(boolean) - Method in class bluej.extensions.BPackage
Compile all modified files of this package.
compileAll(boolean) - Method in class bluej.extensions.BPackage
Compile all files of this package.
compileError(CompileEvent) - Method in interface bluej.extensions.event.CompileListener
This method will be called when there is a report of a compile error.
compileFailed(CompileEvent) - Method in interface bluej.extensions.event.CompileListener
This method will be called when the compile fails.
compileStarted(CompileEvent) - Method in interface bluej.extensions.event.CompileListener
This method will be called when a compilation starts.
compileSucceeded(CompileEvent) - Method in interface bluej.extensions.event.CompileListener
This method will be called when the compile ends successfully.
compileWarning(CompileEvent) - Method in interface bluej.extensions.event.CompileListener
This method will be called when there is a report of a compile warning.

E

EXCEPTION_EXIT - Static variable in class bluej.extensions.event.InvocationEvent
The execution finished due to an exception
Extension - class bluej.extensions.Extension.
Defines the interface between BlueJ and an extension.
Extension() - Constructor for class bluej.extensions.Extension
 
ExtensionEvent - interface bluej.extensions.event.ExtensionEvent.
Base class for the different event types generated by BlueJ for extensions.
ExtensionEventListener - interface bluej.extensions.event.ExtensionEventListener.
This interface allows you to listen for all BlueJ events by using a single listener.
ExtensionException - exception bluej.extensions.ExtensionException.
Base class for the different Exception event generated by BlueJ for extensions.
ExtensionUnloadedException - exception bluej.extensions.ExtensionUnloadedException.
This exception will be thrown when an Extension that has been unloaded from BlueJ still tries to access methods of the BlueJ class.
ExtensionUnloadedException() - Constructor for class bluej.extensions.ExtensionUnloadedException
 
endChangeSource() - Method in class bluej.extensions.BClass
Signal to BlueJ that an extension has finished changing the source file of this class.
eventOccurred(ExtensionEvent) - Method in interface bluej.extensions.event.ExtensionEventListener
This method will be called when an event occurs.

F

FORCED_EXIT - Static variable in class bluej.extensions.event.InvocationEvent
The execution finished through a call to System.exit()

G

getBClass() - Method in class bluej.extensions.BObject
Return the class of this object.
getBClass(String) - Method in class bluej.extensions.BPackage
Returns the class with the given name in this package.
getBlueJPropertyString(String, String) - Method in class bluej.extensions.BlueJ
Returns a property from BlueJ's properties, or the given default value if the property is not currently set.
getClassFile() - Method in class bluej.extensions.BClass
Returns this class's .class file.
getClassMenuItem(BClass) - Method in class bluej.extensions.MenuGenerator
Returns the JMenuItem to be added to the BlueJ Class menu Extensions should not retain references to the menu items created.
getClassName() - Method in class bluej.extensions.event.InvocationEvent
Returns the class name on which this invocation took place.
getClasses() - Method in class bluej.extensions.BPackage
Returns an array containing all the classes in this package.
getConstructor(Class[]) - Method in class bluej.extensions.BClass
Returns the constructor for this class which has the given signature.
getConstructors() - Method in class bluej.extensions.BClass
Returns all the constructors of this class.
getCurrentClasses() - Method in class bluej.extensions.BPackage
Returns the currently selected classes in this Package.
getCurrentFrame() - Method in class bluej.extensions.BlueJ
Returns the current frame being displayed.
getCurrentObjects() - Method in class bluej.extensions.BPackage
Returns the currently selected objects in the Object Bench.
getCurrentPackage() - Method in class bluej.extensions.BlueJ
Returns the currently selected package.
getDeclaredMethod(String, Class[]) - Method in class bluej.extensions.BClass
Returns the declared method of this class which has the given signature.
getDeclaredMethods() - Method in class bluej.extensions.BClass
Returns the declared methods of this class.
getDescription() - Method in class bluej.extensions.Extension
Should return a description of the extension's function.
getDir() - Method in class bluej.extensions.BPackage
Returns the directory where this package is stored.
getDir() - Method in class bluej.extensions.BProject
Returns the directory in which this project is stored.
getErrorLineNumber() - Method in class bluej.extensions.event.CompileEvent
Returns the line number where the compilation error occurs.
getErrorMessage() - Method in class bluej.extensions.event.CompileEvent
Returns the error message generated by the compiler.
getEvent() - Method in class bluej.extensions.event.ApplicationEvent
Returns the event type, one of the values defined.
getEvent() - Method in class bluej.extensions.event.CompileEvent
Returns the eventId, one of the values defined.
getEvent() - Method in class bluej.extensions.event.PackageEvent
Returns the eventId of this event.
getExtensionPropertyString(String, String) - Method in class bluej.extensions.BlueJ
Return a property associated with this extension from the standard BlueJ property repository.
getField(String) - Method in class bluej.extensions.BClass
Returns the field of this class which has the given name.
getFields() - Method in class bluej.extensions.BClass
Returns all the fields of this class.
getFiles() - Method in class bluej.extensions.event.CompileEvent
Returns an array of zero, one or more files related to this event.
getFrame() - Method in class bluej.extensions.BPackage
Returns the package frame.
getInstanceName() - Method in class bluej.extensions.BObject
Return the name of this object on the object bench.
getInvocationStatus() - Method in class bluej.extensions.event.InvocationEvent
Returns the invocation status.
getJavaClass() - Method in class bluej.extensions.BClass
Returns the Java class being wrapped by this BClass.
getJavaFile() - Method in class bluej.extensions.BClass
Returns this class's .java file.
getLabel(String) - Method in class bluej.extensions.BlueJ
Returns the language-dependent label with the given key.
getMenuGenerator() - Method in class bluej.extensions.BlueJ
Returns the currently registered menu generator
getMenuItem() - Method in class bluej.extensions.MenuGenerator
Deprecated. As of BlueJ 1.3.5, replaced by MenuGenerator.getToolsMenuItem(BPackage bp)
getMethodName() - Method in class bluej.extensions.event.InvocationEvent
Returns the method name being called.
getModifiers() - Method in class bluej.extensions.BField
Returns the modifiers of this field.
getModifiers() - Method in class bluej.extensions.BMethod
Returns the modifiers for this method.
getName() - Method in class bluej.extensions.BField
Return the name of the field.
getName() - Method in class bluej.extensions.BMethod
Returns the name of this method.
getName() - Method in class bluej.extensions.BPackage
Returns the name of the package.
getName() - Method in class bluej.extensions.BProject
Returns the name of this project.
getName() - Method in class bluej.extensions.Extension
Should return a name for this extension.
getObject(String) - Method in class bluej.extensions.BPackage
Returns a wrapper for the object with the given name on BlueJ's object bench.
getObjectMenuItem(BObject) - Method in class bluej.extensions.MenuGenerator
Returns the JMenuItem to be added to the BlueJ Object menu Extensions should not retain references to the menu items created.
getObjectName() - Method in class bluej.extensions.event.InvocationEvent
Returns the instance name of the invoked object on the object bench.
getObjects() - Method in class bluej.extensions.BPackage
Returns an array of all the Objects on the object bench.
getOpenProjects() - Method in class bluej.extensions.BlueJ
Returns all currently open projects.
getPackage() - Method in class bluej.extensions.BClass
Returns the package this class belongs to.
getPackage() - Method in class bluej.extensions.BObject
Returns the package this object belongs to.
getPackage(String) - Method in class bluej.extensions.BProject
Get a package belonging to this project.
getPackage() - Method in class bluej.extensions.event.InvocationEvent
Returns the package in which this invocation took place.
getPackage() - Method in class bluej.extensions.event.PackageEvent
Returns the package associated with this event.
getPackages() - Method in class bluej.extensions.BProject
Returns all packages belonging to this project.
getPanel() - Method in interface bluej.extensions.PreferenceGenerator
Bluej will call this method to get the panel where preferences for this extension are.
getParameterTypes() - Method in class bluej.extensions.BConstructor
Returns the parameters of this constructor.
getParameterTypes() - Method in class bluej.extensions.BMethod
Returns the types of the parameters of this method.
getParameters() - Method in class bluej.extensions.event.InvocationEvent
Returns the parameters of the invocation in string form.
getPreferenceGenerator() - Method in class bluej.extensions.BlueJ
Returns the currently registered preference generator.
getProject() - Method in class bluej.extensions.BPackage
Returns the package's project.
getResult() - Method in class bluej.extensions.event.InvocationEvent
Returns the newly created object (if any).
getReturnType() - Method in class bluej.extensions.BMethod
Returns the return type of this method Similar to Reflection API
getSignature() - Method in class bluej.extensions.event.InvocationEvent
Returns the signature of the invoked method or constructor.
getSuperclass() - Method in class bluej.extensions.BClass
Returns the superclass of this class.
getSystemLibDir() - Method in class bluej.extensions.BlueJ
Returns the path of the <BLUEJ_HOME>/lib system directory.
getToolsMenuItem(BPackage) - Method in class bluej.extensions.MenuGenerator
Returns the JMenuItem to be added to the BlueJ Tools menu.
getType() - Method in class bluej.extensions.BField
Return the type of the field.
getURL() - Method in class bluej.extensions.Extension
Should return a URL where more information about the extension is available.
getUserConfigDir() - Method in class bluej.extensions.BlueJ
Returns the path of the user configuration directory.
getValue(BObject, int) - Static method in class bluej.extensions.BArray
Given a BlueJ array object, returns the item at the given index.
getValue(BObject) - Method in class bluej.extensions.BField
Return the value of this field of the given object.
getVersion() - Method in class bluej.extensions.Extension
Should return the version of the extension.

I

InvocationArgumentException - exception bluej.extensions.InvocationArgumentException.
This exception will be thrown when the parameters passed to an invocation do not match the list of arguments of the invocation.
InvocationErrorException - exception bluej.extensions.InvocationErrorException.
This exception will be thrown when an exception occurs during a method or constructor invocation.
InvocationEvent - class bluej.extensions.event.InvocationEvent.
This class encapsulates events generated when the construction or invocation of a BlueJ object finishes.
InvocationEvent(ExecutionEvent) - Constructor for class bluej.extensions.event.InvocationEvent
Constructor for the event.
InvocationListener - interface bluej.extensions.event.InvocationListener.
This interface allows you to listen for when an invocation has finished.
invocationFinished(InvocationEvent) - Method in interface bluej.extensions.event.InvocationListener
This method will be called when an invocation has finished.
invoke(BObject, Object[]) - Method in class bluej.extensions.BMethod
Invoke this method on the given object.
isCompatible() - Method in class bluej.extensions.Extension
Determine whether this extension is compatible with a particular version of the extensions API.
isCompiled() - Method in class bluej.extensions.BClass
Checks to see if this class has been compiled.

L

loadValues() - Method in interface bluej.extensions.PreferenceGenerator
When this method is called the Extension should load its current values into its preference panel.

M

MenuGenerator - class bluej.extensions.MenuGenerator.
Extensions which wish to add a menu item to BlueJ's menus should register an instance of MenuGenerator with the BlueJ proxy object.
MenuGenerator() - Constructor for class bluej.extensions.MenuGenerator
 
MissingJavaFileException - exception bluej.extensions.MissingJavaFileException.
This exception will be thrown when a new class is created and not java source file is provided.
matches(Class[]) - Method in class bluej.extensions.BConstructor
Tests if this constructor matches the given signature.
matches(String) - Method in class bluej.extensions.BField
Check to see if the field name matches the given one.
matches(String, Class[]) - Method in class bluej.extensions.BMethod
Tests if this method matches against the given signature.

N

NORMAL_EXIT - Static variable in class bluej.extensions.event.InvocationEvent
The execution finished normally.
newClass(String) - Method in class bluej.extensions.BPackage
Creates a new Class with the given name.
newInstance(Object[]) - Method in class bluej.extensions.BConstructor
Creates a new instance of the object described by this constructor.
newPackage(String) - Method in class bluej.extensions.BProject
Create and return a new package with the given fully qualified name.
newProject(File) - Method in class bluej.extensions.BlueJ
Creates a new BlueJ project.
notifyPostClassMenu(BClass, JMenuItem) - Method in class bluej.extensions.MenuGenerator
Called by BlueJ when a class menu added by an extension is about to be displayed.
notifyPostObjectMenu(BObject, JMenuItem) - Method in class bluej.extensions.MenuGenerator
Called by BlueJ when an object menu added by an extension is about to be displayed.
notifyPostToolsMenu(BPackage, JMenuItem) - Method in class bluej.extensions.MenuGenerator
Called by BlueJ when a tools menu added by an extension is about to be displayed.

O

openProject(File) - Method in class bluej.extensions.BlueJ
Opens a project.

P

PACKAGE_CLOSING - Static variable in class bluej.extensions.event.PackageEvent
This event occurs when a package is just about to be closed.
PACKAGE_OPENED - Static variable in class bluej.extensions.event.PackageEvent
This event occurs when a package has just been opened.
PackageAlreadyExistsException - exception bluej.extensions.PackageAlreadyExistsException.
This exception is thrown when there is a request to create a new Package but the package already exists in BlueJ.
PackageEvent - class bluej.extensions.event.PackageEvent.
This class encapsulates events on BlueJ packages.
PackageEvent(int, Package) - Constructor for class bluej.extensions.event.PackageEvent
Constructor for the PackageEvent.
PackageListener - interface bluej.extensions.event.PackageListener.
This interface allows you to listen for events on BlueJ packages.
PackageNotFoundException - exception bluej.extensions.PackageNotFoundException.
This exception will be thrown when a reference to a package is no longer valid.
PreferenceGenerator - interface bluej.extensions.PreferenceGenerator.
Extensions which wish to add preference items to BlueJ's Tools/Preferences/Extensions panel should register an instance of PreferenceGenerator with the BlueJ proxy object.
ProjectNotOpenException - exception bluej.extensions.ProjectNotOpenException.
This exception will be thrown when a reference to a project is no longer valid.
packageClosing(PackageEvent) - Method in interface bluej.extensions.event.PackageListener
This method will be called when a package is about to be closed.
packageOpened(PackageEvent) - Method in interface bluej.extensions.event.PackageListener
This method will be called when a package has been opened.

R

reload() - Method in class bluej.extensions.BPackage
Reloads the entire package.
remove() - Method in class bluej.extensions.BClass
Removes this class from BlueJ, including the underlying files.
remove() - Method in class bluej.extensions.BPackage
Removes this package from BlueJ, including the underlying files.
removeApplicationListener(ApplicationListener) - Method in class bluej.extensions.BlueJ
Removes the specified listener so that it no longer receives events.
removeCompileListener(CompileListener) - Method in class bluej.extensions.BlueJ
Removes the specified listener so that it no longer receives events.
removeExtensionEventListener(ExtensionEventListener) - Method in class bluej.extensions.BlueJ
Removes the specified listener so that it no longer receives events.
removeFromBench() - Method in class bluej.extensions.BObject
Removes this object from the object bench.
removeInvocationListener(InvocationListener) - Method in class bluej.extensions.BlueJ
Removes the specified listener so no that it no longer receives events.
removePackageListener(PackageListener) - Method in class bluej.extensions.BlueJ
Removes the specified listener so that it no longer receives events.

S

save() - Method in class bluej.extensions.BProject
Requests a "save" of all open files in this project.
saveValues() - Method in interface bluej.extensions.PreferenceGenerator
When this method is called the Extension should save values from the preference panel into its internal state.
setErrorLineNumber(int) - Method in class bluej.extensions.event.CompileEvent
Sets the line number where an error or warning occurred.
setErrorMessage(String) - Method in class bluej.extensions.event.CompileEvent
Sets the error message for an error or warning event.
setExtensionPropertyString(String, String) - Method in class bluej.extensions.BlueJ
Sets a property associated with this extension into the standard BlueJ property repository.
setMenuGenerator(MenuGenerator) - Method in class bluej.extensions.BlueJ
Install a new menu generator for this extension.
setPreferenceGenerator(PreferenceGenerator) - Method in class bluej.extensions.BlueJ
Install a new preference panel for this extension.
startup(BlueJ) - Method in class bluej.extensions.Extension
Called when the extension can start its activity.

T

TERMINATED_EXIT - Static variable in class bluej.extensions.event.InvocationEvent
The execution finished because the user forcefully terminated it
terminate() - Method in class bluej.extensions.Extension
Called when the extension should tidy up and terminate.
toString() - Method in class bluej.extensions.BClass
Returns a string representation of the Object
toString() - Method in class bluej.extensions.BMethod
Returns a string representing the return type, name and signature of this method
toString() - Method in class bluej.extensions.BObject
Returns a string representation of the Object
toString() - Method in class bluej.extensions.BPackage
Returns a string representation of the package object
toString() - Method in class bluej.extensions.BProject
Returns a string representation of this package object
toString() - Method in class bluej.extensions.event.ApplicationEvent
Returns a meaningful description of this event.
toString() - Method in class bluej.extensions.event.CompileEvent
Returns a meaningful description of this event.
toString() - Method in class bluej.extensions.event.InvocationEvent
Returns a meaningful description of this Event.
toString() - Method in class bluej.extensions.event.PackageEvent
Returns a meaningful description of this event.

U

UNKNOWN_EXIT - Static variable in class bluej.extensions.event.InvocationEvent
 

V

VERSION_MAJOR - Variable in class bluej.extensions.Extension
The major version number of the Extension API.
VERSION_MINOR - Variable in class bluej.extensions.Extension
The minor version number of the Extension API.

A B C E F G I L M N O P R S T U V

BlueJ homepage