A B C D E G H I J L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addApplicationListener(ApplicationListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for application events.
- addClassListener(ClassListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for class events.
- addCompileListener(CompileListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for compile events.
- addExtensionEventListener(ExtensionEventListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for all the events generated by BlueJ.
- addExternalFileLaunchers(List<ExternalFileLauncher>) - Method in class bluej.extensions2.BlueJ
-
Appends a list of ExternalFileLauncher objects in BlueJ's list of external file launchers.
- addInvocationFinishedListener(InvocationFinishedListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for invocation finished events.
- addPackageListener(PackageListener) - Method in class bluej.extensions2.BlueJ
-
Registers a listener for package events.
- addToBench(String) - Method in class bluej.extensions2.BObject
-
Adds this object on the object bench.
- APP_READY_EVENT - bluej.extensions2.event.ApplicationEvent.EventType
-
Event generated when the BlueJ application is initialised and ready.
- ApplicationEvent - Class in bluej.extensions2.event
-
This class encapsulates BlueJ application events.
- ApplicationEvent(ApplicationEvent.EventType) - Constructor for class bluej.extensions2.event.ApplicationEvent
- ApplicationEvent.EventType - Enum in bluej.extensions2.event
-
Types of application events.
- ApplicationListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for application events.
B
- BArray - Class in bluej.extensions2
-
A wrapper for an array object in BlueJ.
- BArray() - Constructor for class bluej.extensions2.BArray
- BClass - Class in bluej.extensions2
-
A wrapper for a class.
- BConstructor - Class in bluej.extensions2
-
A wrapper for a constructor of a BlueJ class.
- BField - Class in bluej.extensions2
-
A wrapper for a field of a BlueJ class.
- BlueJ - Class in bluej.extensions2
-
A proxy object which provides services to BlueJ extensions.
- bluej.extensions2 - package bluej.extensions2
- bluej.extensions2.editor - package bluej.extensions2.editor
- bluej.extensions2.event - package bluej.extensions2.event
- blueJReady(ApplicationEvent) - Method in interface bluej.extensions2.event.ApplicationListener
-
This method will be called when the BlueJ application is initialised.
- BMethod - Class in bluej.extensions2
-
A wrapper for a method of a BlueJ class.
- BObject - Class in bluej.extensions2
-
A wrapper for an object on the BlueJ object bench.
- BPackage - Class in bluej.extensions2
-
A wrapper for a single package of a BlueJ project.
- BProject - Class in bluej.extensions2
-
A wrapper for a BlueJ project.
C
- CHANGED_NAME - bluej.extensions2.event.ClassEvent.EventType
-
Event generated when a class has changed name.
- ClassEvent - Class in bluej.extensions2.event
-
This class encapsulates events which occur on BlueJ classes.
The following events can occur:
STATE_CHANGED - the compile state changed (either from uncompiled to compiled, or from compiled to uncompiled)
CHANGED_NAME - the class has changed name.
REMOVED - the class has been removed.
In the case of STATE_CHANGED there are three possible sitations:
isClassCompiled() returns true: the class has been compiled successfully. - ClassEvent(Package, BClass) - Constructor for class bluej.extensions2.event.ClassEvent
-
Constructs a new ClassEvent object for a
ClassEvent.EventType.REMOVED
event. - ClassEvent(Package, BClass, boolean, boolean) - Constructor for class bluej.extensions2.event.ClassEvent
-
Constructs a new ClassEvent object for a
ClassEvent.EventType.STATE_CHANGED
event. - ClassEvent(Package, BClass, String) - Constructor for class bluej.extensions2.event.ClassEvent
-
Constructs a new ClassEvent object for a
ClassEvent.EventType.CHANGED_NAME
event. - ClassEvent.EventType - Enum in bluej.extensions2.event
-
Types of class events.
- ClassListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for class events.
- classNameChanged(ClassEvent) - Method in interface bluej.extensions2.event.ClassListener
-
This method will be called when a class has been renamed.
- ClassNotFoundException - Exception in bluej.extensions2
-
This exception will be thrown when a reference to a class is no longer valid.
- classRemoved(ClassEvent) - Method in interface bluej.extensions2.event.ClassListener
-
This method will be called when a class has been removed.
- classStateChanged(ClassEvent) - Method in interface bluej.extensions2.event.ClassListener
-
This method will be called when a class state changed.
- close() - Method in class bluej.extensions2.BProject
-
Saves any open files, then closes all frames belonging to this project.
- CompilationNotStartedException - Exception in bluej.extensions2
-
This exception will be thrown when a compile request cannot be started.
- compile(boolean) - Method in class bluej.extensions2.BClass
-
Compiles this class, and any dependents.
- compile(boolean) - Method in class bluej.extensions2.BPackage
-
Compiles all modified files of this package.
- compile(boolean, boolean) - Method in class bluej.extensions2.BClass
-
Compiles this class, and any dependents, optionally without showing compilation errors to the user.
- COMPILE_DONE_EVENT - bluej.extensions2.event.CompileEvent.EventType
-
Event generated when a compilation finishes successfully.
- COMPILE_ERROR_EVENT - bluej.extensions2.event.CompileEvent.EventType
-
Event generated when a compilation error occurs.
- COMPILE_FAILED_EVENT - bluej.extensions2.event.CompileEvent.EventType
-
Event generated when a compilation finishes unsuccessfully.
- COMPILE_START_EVENT - bluej.extensions2.event.CompileEvent.EventType
-
Event generated when compilation begins.
- COMPILE_WARNING_EVENT - bluej.extensions2.event.CompileEvent.EventType
-
Event generated when a compilation warning occurs.
- compileAll(boolean) - Method in class bluej.extensions2.BPackage
-
Compiles all files of this package.
- compileError(CompileEvent) - Method in interface bluej.extensions2.event.CompileListener
-
This method will be called when there is a report of a compile error.
- CompileEvent - Class in bluej.extensions2.event
-
This class encapsulates compiler events.
- CompileEvent(CompileEvent.EventType, boolean, File[]) - Constructor for class bluej.extensions2.event.CompileEvent
- CompileEvent(CompileEvent.EventType, File[]) - Constructor for class bluej.extensions2.event.CompileEvent
-
Constructor to use for user-generated compilations.
- CompileEvent.EventType - Enum in bluej.extensions2.event
-
Types of compilation events.
- compileFailed(CompileEvent) - Method in interface bluej.extensions2.event.CompileListener
-
This method will be called when the compile fails.
- CompileListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for compile events.
- compileStarted(CompileEvent) - Method in interface bluej.extensions2.event.CompileListener
-
This method will be called when a compilation starts.
- compileSucceeded(CompileEvent) - Method in interface bluej.extensions2.event.CompileListener
-
This method will be called when the compile ends successfully.
- compileWarning(CompileEvent) - Method in interface bluej.extensions2.event.CompileListener
-
This method will be called when there is a report of a compile warning.
- convertJavaToStride() - Method in class bluej.extensions2.BClass
-
Converts a Java class to Stride.
- convertStrideToJava() - Method in class bluej.extensions2.BClass
-
Converts a Stride class to Java, by removing the Stride file and retaining the generated Java.
D
- DATA_SUBMISSION_FAILED_EVENT - bluej.extensions2.event.ApplicationEvent.EventType
-
Event generated when connection to the data collection servers (e.g. Blackbox) is broken, or the event generates an error code when sent.
- dataSubmissionFailed(ApplicationEvent) - Method in interface bluej.extensions2.event.ApplicationListener
-
This method will be called when submission to the current data recording server (Blackbox, or your local purpose-run recording server) has failed.
E
- eventOccurred(ExtensionEvent) - Method in interface bluej.extensions2.event.ExtensionEventListener
-
This method will be called when an event occurs.
- EXCEPTION_EXIT - bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Event generated when an invocation terminated due to an exception.
- Extension - Class in bluej.extensions2
-
Defines the interface between BlueJ and an extension.
- Extension() - Constructor for class bluej.extensions2.Extension
- ExtensionEvent - Interface in bluej.extensions2.event
-
Base class for the different event types generated by BlueJ for extensions.
- ExtensionEventListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for all BlueJ events by using a single listener.
- ExtensionException - Exception in bluej.extensions2
-
Base class for the different Exception events generated by BlueJ for extensions.
- ExtensionUnloadedException - Exception in bluej.extensions2
-
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 exception bluej.extensions2.ExtensionUnloadedException
- ExternalFileLauncher - Class in bluej.extensions2
-
Class holding the information between a file type and an associated launcher.
- ExternalFileLauncher(String, ExternalFileLauncher.OpenExternalFileHandler) - Constructor for class bluej.extensions2.ExternalFileLauncher
- ExternalFileLauncher.OpenExternalFileHandler - Interface in bluej.extensions2
-
This interface allows a mechanism for a BlueJ extension to write a launcher, and for BlueJ to call this launcher.
G
- getBClass() - Method in class bluej.extensions2.BObject
-
Returns the class of this object.
- getBClass() - Method in class bluej.extensions2.editor.JavaEditor
-
Gets the class that this editor is editing.
- getBClass() - Method in class bluej.extensions2.editor.StrideEditor
-
Gets the class that this editor is editing.
- getBClass() - Method in class bluej.extensions2.event.ClassEvent
-
Gets the class on which the event occurred.
- getBClass(String) - Method in class bluej.extensions2.BPackage
-
Returns the class with the given name in this package.
- getBlueJPropertyString(String, String) - Method in class bluej.extensions2.BlueJ
-
Returns a property from BlueJ's properties.
- getCaretLocation() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the current caret location (the position of the user's cursor) within the edited text.
- getClasses() - Method in class bluej.extensions2.BPackage
-
Returns an array containing all the classes in this package.
- getClassFile() - Method in class bluej.extensions2.BClass
-
Returns this class's .class file.
- getClassLoader() - Method in class bluej.extensions2.BProject
-
Returns a URLClassLoader that should be used to load project classes.
- getClassMenuItem(BClass) - Method in class bluej.extensions2.MenuGenerator
-
Returns the MenuItem to be added to the BlueJ Class menu Extensions should not retain references to the menu items created.
- getClassName() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the class name on which this invocation took place.
- getColumn() - Method in class bluej.extensions2.editor.TextLocation
-
Returns the column of this text location.
- getConstructor(Class<?>[]) - Method in class bluej.extensions2.BClass
-
Returns the constructor for this class which has the given signature.
- getConstructors() - Method in class bluej.extensions2.BClass
-
Returns all the constructors of this class.
- getCurrentClasses() - Method in class bluej.extensions2.BPackage
-
Returns the currently selected classes in this Package.
- getCurrentObjects() - Method in class bluej.extensions2.BPackage
-
Returns the currently selected objects in the object bench.
- getCurrentPackage() - Method in class bluej.extensions2.BlueJ
-
Returns the current package.
- getCurrentWindow() - Method in class bluej.extensions2.BlueJ
-
Returns the current JavaFX Stage being displayed.
- getDataCollectionUniqueID() - Method in class bluej.extensions2.BlueJ
-
Returns the data-collection user ID.
- getDeclaredMethod(String, Class<?>[]) - Method in class bluej.extensions2.BClass
-
Returns the declared method of this class which has the given signature.
- getDeclaredMethods() - Method in class bluej.extensions2.BClass
-
Returns the declared methods of this class.
- getDeclaringClass() - Method in class bluej.extensions2.BMethod
-
Returns the class's name that declares this method.
- getDescription() - Method in class bluej.extensions2.Extension
-
Should return a description of the extension's function.
- getDir() - Method in class bluej.extensions2.BPackage
-
Returns the directory where this package is stored.
- getDir() - Method in class bluej.extensions2.BProject
-
Returns the directory in which this project is stored.
- getEnum(String) - Static method in enum bluej.extensions2.SourceType
-
Returns a
SourceType
based on a literal value. - getErrorLineNumber() - Method in class bluej.extensions2.event.CompileEvent
-
Returns the line number where the compilation error occurs.
- getErrorMessage() - Method in class bluej.extensions2.event.CompileEvent
-
Returns the error message generated by the compiler.
- getErrorPosition() - Method in class bluej.extensions2.event.CompileEvent
-
Gets the error position.
- getEventType() - Method in class bluej.extensions2.event.ApplicationEvent
-
Gets the event type.
- getEventType() - Method in class bluej.extensions2.event.ClassEvent
-
Gets the event type.
- getEventType() - Method in class bluej.extensions2.event.CompileEvent
-
Returns the eventType associated with this CompileEvent
- getEventType() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the termination type.
- getEventType() - Method in class bluej.extensions2.event.PackageEvent
-
Gets the event type.
- getExtension() - Method in enum bluej.extensions2.SourceType
-
Returns the file extension value associated with this
SourceType
. - getExtensionPropertyString(String, String) - Method in class bluej.extensions2.BlueJ
-
Returns a property associated with this extension from the standard BlueJ property repository.
- getExtensionsAPIVersionMajor() - Static method in class bluej.extensions2.Extension
-
Obtains the major version of the Extensions API.
- getExtensionsAPIVersionMinor() - Static method in class bluej.extensions2.Extension
-
Obtains the minor version of the Extensions API.
- getField(String) - Method in class bluej.extensions2.BClass
-
Returns the field of this class which has the given name.
- getFields() - Method in class bluej.extensions2.BClass
-
Returns all the fields of this class.
- getFileExtension() - Method in class bluej.extensions2.ExternalFileLauncher
- getFiles() - Method in class bluej.extensions2.event.CompileEvent
-
Returns the files related to this event.
- getFontSizeInPixels() - Method in class bluej.extensions2.editor.JavaEditor
-
Gets the height of the editor font, in pixels.
- getInstanceName() - Method in class bluej.extensions2.BObject
-
Returns the name of this object on the object bench.
- getJavaClass() - Method in class bluej.extensions2.BClass
-
Returns the Java Class object being wrapped by this BClass.
- getJavaEditor() - Method in class bluej.extensions2.BClass
-
Returns a proxy object that provide an interface to the Java editor for this BClass.
- getJavaEditorIfOpen() - Method in class bluej.extensions2.BClass
-
Returns a proxy object that provide an interface to the Java editor for this BClass.
- getJavaField() - Method in class bluej.extensions2.BField
-
Returns the java Field for inspection.
- getJavaFile() - Method in class bluej.extensions2.BClass
-
Returns this class's .java file.
- getLabel(String) - Method in class bluej.extensions2.BlueJ
-
Returns the language-dependent label with the given key.
- getLauncher() - Method in class bluej.extensions2.ExternalFileLauncher
- getLine() - Method in class bluej.extensions2.editor.TextLocation
-
Returns the line of this text position.
- getLineBoundsOnScreen() - Method in class bluej.extensions2.editor.JavaEditor.LocationDetails
-
The bounds on screen of the line containing the text position.
- getLineCount() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the total number of lines in the currently edited text.
- getLineLength(int) - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the length of the line indicated in the edited text.
- getLocationFromScreenPos(int, int) - Method in class bluej.extensions2.editor.JavaEditor
-
Gets the closest text location for the given position on the screen, or null if there is no code at that point on the screen.
- getMenuGenerator() - Method in class bluej.extensions2.BlueJ
-
Returns the currently registered menu generator
- getMethod(String, Class<?>[]) - Method in class bluej.extensions2.BClass
-
Returns the method of this class with the given signature.
- getMethodName() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the method name being called.
- getMethods() - Method in class bluej.extensions2.BClass
-
Returns all methods of this class, those declared and those inherited from all ancestors.
- getModifiers() - Method in class bluej.extensions2.BConstructor
-
Returns the modifier of this constructor.
- getModifiers() - Method in class bluej.extensions2.BField
-
Returns the modifier of this field.
- getModifiers() - Method in class bluej.extensions2.BMethod
-
Returns the modifier of this method.
- getName() - Method in class bluej.extensions2.BClass
-
Returns the name of this BClass.
- getName() - Method in class bluej.extensions2.BField
-
Returns the name of the field.
- getName() - Method in class bluej.extensions2.BMethod
-
Returns the name of this method.
- getName() - Method in class bluej.extensions2.BPackage
-
Returns the name of the package.
- getName() - Method in class bluej.extensions2.BProject
-
Returns the name of this project.
- getName() - Method in class bluej.extensions2.Extension
-
Should return a name for this extension.
- getObject(String) - Method in class bluej.extensions2.BPackage
-
Returns a wrapper for the object with the given name on BlueJ's object bench.
- getObjectMenuItem(BObject) - Method in class bluej.extensions2.MenuGenerator
-
Returns the MenuItem to be added to the BlueJ Object menu.
- getObjectName() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the instance name of the invoked object on the object bench.
- getObjects() - Method in class bluej.extensions2.BPackage
-
Returns an array of all the Objects on the object bench.
- getOffsetFromTextLocation(TextLocation) - Method in class bluej.extensions2.editor.JavaEditor
-
Translates a text location into an offset into the text held by this editor.
- getOldName() - Method in class bluej.extensions2.event.ClassEvent
-
Gets the old class name.
- getOpenProjects() - Method in class bluej.extensions2.BlueJ
-
Returns all currently open projects.
- getPackage() - Method in class bluej.extensions2.BClass
-
Returns the BPackage this class belongs to.
- getPackage() - Method in class bluej.extensions2.BObject
-
Returns the package this object belongs to.
- getPackage() - Method in class bluej.extensions2.event.ClassEvent
-
Returns the package to which the class that caused this event belongs.
- getPackage() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the package in which this invocation took place.
- getPackage() - Method in class bluej.extensions2.event.PackageEvent
-
Gets the package on which the event occurred.
- getPackage(String) - Method in class bluej.extensions2.BProject
-
Gets a package belonging to this project.
- getPackageMenuItem(BPackage) - Method in class bluej.extensions2.MenuGenerator
-
Returns the MenuItem to be added to the BlueJ Package menu.
- getPackages() - Method in class bluej.extensions2.BProject
-
Returns all packages belonging to this project.
- getParameters() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the values of the parameters to the invocation as String objects.
- getParametersTypes() - Method in class bluej.extensions2.BConstructor
-
Returns the parameters' types of this constructor.
- getParameterTypes() - Method in class bluej.extensions2.BMethod
-
Returns the types of the parameters of this method.
- getPreferenceGenerator() - Method in class bluej.extensions2.BlueJ
-
Returns the currently registered preference generator.
- getProject() - Method in class bluej.extensions2.BPackage
-
Returns the package's project.
- getProperty(String) - Method in class bluej.extensions2.editor.JavaEditor
-
Returns a property of the current editor.
- getResult() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the newly created object (if any).
- getReturnType() - Method in class bluej.extensions2.BMethod
-
Returns the return type of this method.
- getScreenBounds() - Method in class bluej.extensions2.editor.JavaEditor
-
Gets the screen bounds of the window that this editor is contained in, if and only if this is the selected tab in its editor window and the window is showing and the window is not minimised.
- getScreenBounds() - Method in class bluej.extensions2.editor.StrideEditor
-
Gets the screen bounds of the window that this editor is contained in, if and only if this is the selected tab in its editor window and the window is showing and the window is not minimised.
- getSelectionBegin() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the location at which current selection begins.
- getSelectionEnd() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the location at which the current selection ends.
- getSignature() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns the signature of the invoked method or constructor.
- getSourceType() - Method in class bluej.extensions2.BClass
-
Finds out whether this class has source code available, and whether it's Java or Stride
- getStrideEditor() - Method in class bluej.extensions2.BClass
-
Returns a proxy object that provide an interface to the Stride editor for this BClass.
- getStrideEditorIfOpen() - Method in class bluej.extensions2.BClass
-
Returns a proxy object that provide an interface to the Stride editor for this BClass.
- getSuperclass() - Method in class bluej.extensions2.BClass
-
Returns the superclass of this class.
- getSystemLibDir() - Method in class bluej.extensions2.BlueJ
-
Returns the path of the
<BLUEJ_HOME>/lib
system directory. - getText(TextLocation, TextLocation) - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the text which lies between the two TextLocations.
- getTextLength() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the length of the currently edited text.
- getTextLocation() - Method in class bluej.extensions2.editor.JavaEditor.LocationDetails
-
The text location (line/column).
- getTextLocationFromOffset(int) - Method in class bluej.extensions2.editor.JavaEditor
-
Translates an offset in the text held by this editor into a TextLocation.
- getToolsMenuItem(BPackage) - Method in class bluej.extensions2.MenuGenerator
-
Returns the MenuItem to be added to the BlueJ Tools menu.
- getType() - Method in class bluej.extensions2.BField
-
Returns the type of the field.
- getURL() - Method in class bluej.extensions2.Extension
-
Should return a URL where more information about the extension is available.
- getUserConfigDir() - Method in class bluej.extensions2.BlueJ
-
Returns the path of the user configuration directory.
- getValue(BObject) - Method in class bluej.extensions2.BField
-
Returns the value of this field for a given object.
- getValue(BObject, int) - Static method in class bluej.extensions2.BArray
-
Given an array BObject, returns the item at the given index.
- getVersion() - Method in class bluej.extensions2.Extension
-
Should return the version of the extension.
- getWindow() - Method in class bluej.extensions2.BPackage
-
Returns the package window.
- getWindow() - Method in interface bluej.extensions2.PreferenceGenerator
-
BlueJ will call this method to get the
Pane
where preferences for this extension are. - getXPathForItemAtPosition(int, int, boolean, boolean) - Method in class bluej.extensions2.editor.StrideEditor
-
Gets the XPath for the element at the given position.
H
- hasError() - Method in class bluej.extensions2.event.ClassEvent
-
Checks whether the class for which the event occurred has compilation errors.
I
- InvocationArgumentException - Exception in bluej.extensions2
-
This exception will be thrown when the parameters passed to an invocation do not match the list of arguments of the invocation.
- InvocationErrorException - Exception in bluej.extensions2
-
This exception will be thrown when an exception occurs during a method or constructor invocation.
- invocationFinished(InvocationFinishedEvent) - Method in interface bluej.extensions2.event.InvocationFinishedListener
-
This method will be called when an invocation has finished.
- InvocationFinishedEvent - Class in bluej.extensions2.event
-
This class encapsulates events generated when the construction or invocation of a BlueJ object finishes.
- InvocationFinishedEvent(ExecutionEvent) - Constructor for class bluej.extensions2.event.InvocationFinishedEvent
- InvocationFinishedEvent.EventType - Enum in bluej.extensions2.event
-
Types of invocation finished events.
- InvocationFinishedListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for when an invocation has finished.
- invoke(BObject, Object[]) - Method in class bluej.extensions2.BMethod
-
Invokes this method on the given object.
- isClassCompiled() - Method in class bluej.extensions2.event.ClassEvent
-
Checks whether the class for which the event occurred is compiled.
- isCompatible() - Method in class bluej.extensions2.Extension
-
Determines whether this extension is compatible with a particular version of the extensions API.
- isCompiled() - Method in class bluej.extensions2.BClass
-
Checks to see if this class has been compiled.
- isReadOnly() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the readonly status of this.
- isUserGeneratedCompilation() - Method in class bluej.extensions2.event.CompileEvent
-
Returns an indicator for user or BlueJ generated compilation.
- isVisible() - Method in class bluej.extensions2.editor.JavaEditor
-
Returns the visibility status of this editor.
J
- Java - bluej.extensions2.SourceType
- JavaEditor - Class in bluej.extensions2.editor
-
Proxy object that allows interaction with the BlueJ Editor for a particular Java class.
- JavaEditor.LocationDetails - Class in bluej.extensions2.editor
-
Details of a text location.
L
- loadFile() - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to load the file currently opened.
- loadValues() - Method in interface bluej.extensions2.PreferenceGenerator
-
When this method is called the Extension should load its current values into its preference panel.
M
- matches(Class<?>[]) - Method in class bluej.extensions2.BConstructor
-
Tests if this constructor matches the given signature.
- matches(String, Class<?>[]) - Method in class bluej.extensions2.BMethod
-
Tests if this method matches against the given signature.
- MenuGenerator - Class in bluej.extensions2
-
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.extensions2.MenuGenerator
- MissingJavaFileException - Exception in bluej.extensions2
-
This exception will be thrown when a new class is created and not java source file is provided.
N
- newClass(String) - Method in class bluej.extensions2.BPackage
-
Creates a new Java class with the given name.
- newClass(String, SourceType) - Method in class bluej.extensions2.BPackage
-
Creates a new class with the given name for the given type.
- newInstance(Object[]) - Method in class bluej.extensions2.BConstructor
-
Creates a new instance of the object described by this constructor.
- newPackage(String) - Method in class bluej.extensions2.BProject
-
Creates and returns a new package with the given fully qualified name.
- newProject(File) - Method in class bluej.extensions2.BlueJ
-
Creates a new BlueJ project.
- NONE - bluej.extensions2.SourceType
- NORMAL_EXIT - bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Event generated when an invocation finished normally.
- notifyPostClassMenu(BClass, MenuItem) - Method in class bluej.extensions2.MenuGenerator
-
Called by BlueJ when a class menu added by an extension is about to be displayed.
- notifyPostObjectMenu(BObject, MenuItem) - Method in class bluej.extensions2.MenuGenerator
-
Called by BlueJ when an object menu added by an extension is about to be displayed.
- notifyPostPackageMenu(BPackage, MenuItem) - Method in class bluej.extensions2.MenuGenerator
-
Called by BlueJ when a package menu added by an extension is about to be displayed.
- notifyPostToolsMenu(BPackage, MenuItem) - Method in class bluej.extensions2.MenuGenerator
-
Called by BlueJ when a tools menu added by an extension is about to be displayed.
O
- openFile(String) - Method in interface bluej.extensions2.ExternalFileLauncher.OpenExternalFileHandler
-
The BlueJ extension implements this method as a launcher for a file, specified by its name.
- openProject(File) - Method in class bluej.extensions2.BlueJ
-
Opens a BlueJ project.
- openWebViewTab(String) - Method in class bluej.extensions2.BProject
-
Opens a tab editor with a web browser showing the given URL.
P
- PACKAGE_CLOSING - bluej.extensions2.event.PackageEvent.EventType
-
Event generated when a package is just about to be closed.
- PACKAGE_OPENED - bluej.extensions2.event.PackageEvent.EventType
-
Event generated when a package has just been opened.
- PackageAlreadyExistsException - Exception in bluej.extensions2
-
This exception is thrown when there is a request to create a new package but the package already exists in BlueJ.
- packageClosing(PackageEvent) - Method in interface bluej.extensions2.event.PackageListener
-
This method will be called when a package is about to be closed.
- PackageEvent - Class in bluej.extensions2.event
-
This class encapsulates events on BlueJ packages.
- PackageEvent(PackageEvent.EventType, Package) - Constructor for class bluej.extensions2.event.PackageEvent
- PackageEvent.EventType - Enum in bluej.extensions2.event
-
Types of package events.
- PackageListener - Interface in bluej.extensions2.event
-
This interface allows an extension to listen for events on BlueJ packages.
- PackageNotFoundException - Exception in bluej.extensions2
-
This exception will be thrown when a reference to a package is no longer valid.
- packageOpened(PackageEvent) - Method in interface bluej.extensions2.event.PackageListener
-
This method will be called when a package has been opened.
- PreferenceGenerator - Interface in bluej.extensions2
-
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 in bluej.extensions2
-
This exception will be thrown when a reference to a project is no longer valid.
R
- reload() - Method in class bluej.extensions2.BPackage
-
Reloads the entire package.
- remove() - Method in class bluej.extensions2.BClass
-
Removes this class from BlueJ, including the underlying files.
- remove() - Method in class bluej.extensions2.BPackage
-
Removes this package from BlueJ, including the underlying files.
- removeApplicationListener(ApplicationListener) - Method in class bluej.extensions2.BlueJ
-
Removes the listener specified listener so that it no longer receives application events.
- removeClassListener(ClassListener) - Method in class bluej.extensions2.BlueJ
-
Removes the specified class listener so no that it no longer receives class events.
- removeCompileListener(CompileListener) - Method in class bluej.extensions2.BlueJ
-
Removes the specified listener so that it no longer receives compile events.
- REMOVED - bluej.extensions2.event.ClassEvent.EventType
-
Event generated when a class has been removed.
- removeExtensionEventListener(ExtensionEventListener) - Method in class bluej.extensions2.BlueJ
-
Removes the specified listener so that it no longer receives events.
- removeFromBench() - Method in class bluej.extensions2.BObject
-
Removes this object from the object bench.
- removeInvocationFinishedListener(InvocationFinishedListener) - Method in class bluej.extensions2.BlueJ
-
Removes the specified listener so no that it no longer receives invocation finished events.
- removePackageListener(PackageListener) - Method in class bluej.extensions2.BlueJ
-
Removes the specified listener so that it no longer receives package events.
- restartVM() - Method in class bluej.extensions2.BProject
-
Restarts the VM used to run user code for this project.
S
- save() - Method in class bluej.extensions2.BProject
-
Requests a "save" of all open files in this project.
- saveFile() - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to save the file currently opened.
- saveValues() - Method in interface bluej.extensions2.PreferenceGenerator
-
When this method is called the Extension should save values from the preference panel into its internal state.
- scheduleCompilation(boolean) - Method in class bluej.extensions2.BPackage
-
Schedules a compilation of the package.
- setCaretLocation(TextLocation) - Method in class bluej.extensions2.editor.JavaEditor
-
Sets the current caret location within the edited text.
- setColumn(int) - Method in class bluej.extensions2.editor.TextLocation
-
Sets the column of this text position, leaving the line number unchanged.
- setErrorLineNumber(int) - Method in class bluej.extensions2.event.CompileEvent
-
Sets the line number where an error or warning occurred.
- setErrorMessage(String) - Method in class bluej.extensions2.event.CompileEvent
-
Sets the error message for an error or warning event.
- setErrorPosition(int[]) - Method in class bluej.extensions2.event.CompileEvent
-
Sets the error position.
- setExtensionPropertyString(String, String) - Method in class bluej.extensions2.BlueJ
-
Sets a property associated with this extension into the standard BlueJ property repository.
- setLine(int) - Method in class bluej.extensions2.editor.TextLocation
-
Sets the line number of this text position, leaving the column unchanged.
- setMenuGenerator(MenuGenerator) - Method in class bluej.extensions2.BlueJ
-
Installs a new menu generator for this extension.
- setPosition(int, int) - Method in class bluej.extensions2.editor.TextLocation
-
Sets both the line number and column of this text location.
- setPreferenceGenerator(PreferenceGenerator) - Method in class bluej.extensions2.BlueJ
-
Installs a new preference panel for this extension.
- setProperty(String, Object) - Method in class bluej.extensions2.editor.JavaEditor
-
Sets a property for the current editor.
- setReadOnly(boolean) - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to permit or deny editor content modification (via the editor GUI).
- setScopeHighlightStrength(int) - Method in class bluej.extensions2.BlueJ
-
Sets the scope highlighting strength across all Java editors.
- setSelection(TextLocation, TextLocation) - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to mark the text between begin and end as selected.
- setText(TextLocation, TextLocation, String) - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to replace the text between beginning and end with the given newText If begin and end refer to the same location, the text is inserted.
- setVisible(boolean) - Method in class bluej.extensions2.editor.JavaEditor
-
Shows or hides this editor.
- showMessage(String) - Method in class bluej.extensions2.editor.JavaEditor
-
Requests the editor to display the given message in the editor message area.
- SourceType - Enum in bluej.extensions2
-
The type of source that is available.
- startup(BlueJ) - Method in class bluej.extensions2.Extension
-
Called when the extension can start its activity.
- STATE_CHANGED - bluej.extensions2.event.ClassEvent.EventType
-
Event generated when the compile state of a class changed (either from uncompiled to compiled, or from compiled to uncompiled).
- Stride - bluej.extensions2.SourceType
- StrideEditor - Class in bluej.extensions2.editor
-
A class representing an editor for a Stride class.
T
- terminate() - Method in class bluej.extensions2.Extension
-
Called when the extension should tidy up and terminate.
- TERMINATED_EXIT - bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Event generated when an invocation terminated forcefully by the user.
- TextLocation - Class in bluej.extensions2.editor
-
A
TextLocation
object groups two pieces of information: a line number and a column number. - TextLocation(int, int) - Constructor for class bluej.extensions2.editor.TextLocation
-
Creates a TextLocation representing the text position at the specified line and column.
- toString() - Method in class bluej.extensions2.BClass
-
Returns a string representation of the Object
- toString() - Method in class bluej.extensions2.BConstructor
-
Returns a string representation of the Object.
- toString() - Method in class bluej.extensions2.BMethod
-
Returns a string representing the return type, name and signature of this method
- toString() - Method in class bluej.extensions2.BObject
-
Returns a string representation of the Object
- toString() - Method in class bluej.extensions2.BPackage
-
Returns a string representation of the package object
- toString() - Method in class bluej.extensions2.BProject
-
Returns a string representation of this package object
- toString() - Method in class bluej.extensions2.editor.TextLocation
-
Returns a literal representation of this text location.
- toString() - Method in class bluej.extensions2.event.ApplicationEvent
-
Returns a meaningful description of this event.
- toString() - Method in class bluej.extensions2.event.CompileEvent
-
Returns a meaningful description of this event.
- toString() - Method in class bluej.extensions2.event.InvocationFinishedEvent
-
Returns a meaningful description of this Event.
- toString() - Method in class bluej.extensions2.event.PackageEvent
-
Returns a meaningful description of this event.
U
- UNKNOWN_EXIT - bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Event generated when an invocation finished with unknown event mapping.
V
- valueOf(String) - Static method in enum bluej.extensions2.event.ApplicationEvent.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum bluej.extensions2.event.ClassEvent.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum bluej.extensions2.event.CompileEvent.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum bluej.extensions2.event.PackageEvent.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum bluej.extensions2.SourceType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum bluej.extensions2.event.ApplicationEvent.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum bluej.extensions2.event.ClassEvent.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum bluej.extensions2.event.CompileEvent.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum bluej.extensions2.event.InvocationFinishedEvent.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum bluej.extensions2.event.PackageEvent.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum bluej.extensions2.SourceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages