All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

actionPerformed(ActionEvent). Method in class macrolanguage.EditToolbar
add(Component, int, int). Method in class macrolanguage.FreeFormEdit
add a component to an x and y location.
addClassButton. Variable in class macrolanguage.EditToolbar

C

calculateParentContainerXY(Component, Container, int, int). Method in class macrolanguage.MouseManager
this method recives a component ,a container and an x,y coordinate.
calculateRelativePosition(Point, Component). Method in class macrolanguage.MouseManager
this method recives a point and a component to which the point is relative and calculates the same point relative to this Component.
classCache. Variable in class macrolanguage.MacroExtention
classNameEntry. Variable in class macrolanguage.EditToolbar
client. Variable in class macrolanguage.MouseManager
close(). Method in class macrolanguage.SimpleStream
the close method does nothing in this implementation.
compile(String). Method in class macrolanguage.MacroExtention
This method accepts a java file as parameter and compiles it.
compilerClass. Variable in class macrolanguage.MacroExtention
Notice the long name.
componentDragged(MouseEvent). Method in class macrolanguage.ComponentWrapper
called whenever a component gets dragged and performas the drag on the internal Component as well.
componentDragged(MouseEvent). Method in class macrolanguage.MouseManager
Called whenever a mouse gets dragged.
componentResized(MouseEvent). Method in class macrolanguage.ComponentWrapper
this method is called whenever a component gets resized and it handles the resizeing for the internal component too.
componentResized(MouseEvent). Method in class macrolanguage.MouseManager
gets called when a resize operation occurs on a component.
componentToPlace. Static variable in class macrolanguage.ProjectSettings
ComponentWrapper(Component). Constructor for class macrolanguage.ComponentWrapper
Initialize the component wrapper to wrap internalComponent.
currentFreeFormEdit. Static variable in class macrolanguage.ProjectSettings

D

dataStream. Variable in class macrolanguage.MacroExtention
DEFAULT_COMPONENT_HEIGHT. Static variable in class macrolanguage.ProjectSettings
DEFAULT_COMPONENT_WIDTH. Static variable in class macrolanguage.ProjectSettings
deleteSelectedButton. Variable in class macrolanguage.EditToolbar
deselect(). Method in class macrolanguage.ComponentWrapper
remove the selected marking on this component.
dragMode. Static variable in class macrolanguage.ProjectSettings

E

EditToolbar(FreeFormEdit). Constructor for class macrolanguage.EditToolbar
The constructor sets the UI to the correct appearance.
exitButton. Variable in class macrolanguage.EditToolbar

F

flush(). Method in class macrolanguage.SimpleStream
the flush method does nothing in this implementation.
form. Variable in class macrolanguage.EditToolbar
FreeFormEdit(). Constructor for class macrolanguage.FreeFormEdit
The constructor creates the listeners with the correct layout for the free form design.

G

getClassData(String). Method in class macrolanguage.MacroExtention
This method returns the data within the disk file to the class loader so it can load the class.
getClassDataFromJAR(String, String). Method in class macrolanguage.MacroExtention
This method returns the data within the JAR to the class loader so it can load a class.
getCompilationErrors(). Method in class macrolanguage.MacroExtention
This method returns a vector in which all the compilation errors are stored as strings.
getComponent(). Method in class macrolanguage.ComponentWrapper
get the internal component.
getJarInputStream(String, String). Method in class macrolanguage.MacroExtention
this method returns an InputStream to the fileName we are looking for.
getObject(String). Method in class macrolanguage.MacroExtention
This method accepts a class file as parameter and returns an instance of it.
getResource(String). Method in class macrolanguage.MacroExtention
Find a resource with a given name.
getResourceAsStream(String). Method in class macrolanguage.MacroExtention
Get an InputStream on a given resource.
getStringsWritten(). Method in class macrolanguage.SimpleStream
returns a vector containing all the strings written to the stream.
gridSize. Static variable in class macrolanguage.ProjectSettings

I

internalComponent. Variable in class macrolanguage.ComponentWrapper

J

jarFileName. Variable in class macrolanguage.EditToolbar
jarFileName. Variable in class macrolanguage.MacroExtention

K

keyPressed(KeyEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the keylistener interface used to listen to keyboard events.
keyReleased(KeyEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the keylistener interface used to listen to keyboard events.
keyTyped(KeyEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the keylistener interface used to listen to keyboard events.

L

lastMouseLocation. Variable in class macrolanguage.ComponentWrapper
lastMousePosition. Variable in class macrolanguage.MouseManager
loadClass(String, boolean). Method in class macrolanguage.MacroExtention
the load class method loads a class file from the disk or from a jar file and resolves the class with the JVM.
loader. Variable in class macrolanguage.EditToolbar
loadObject(String). Method in class macrolanguage.MacroExtention
creats an instance of a class by getting its name and returns that instance, or null if none were found.

M

MacroExtention(). Constructor for class macrolanguage.MacroExtention
the default constructor does nothing except create an instance of sun.tools.javac.Main for later use.
main(String[]). Static method in class macrolanguage.MacroExtention
I use this method in my experimenting and chose not to remove it since it may be of interest for the readers.
MARGIN. Static variable in class macrolanguage.ComponentWrapper
MINIMUM_COMPONENT_HEIGHT. Static variable in class macrolanguage.ProjectSettings
MINIMUM_COMPONENT_WIDTH. Static variable in class macrolanguage.ProjectSettings
mouseClicked(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseListener interface.
mouseClicked(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseListener interface.
mouseDragged(MouseEvent). Method in class macrolanguage.ComponentWrapper
This method is a part of the MouseMotionListener interface and is called whenever a mouse is dragged.
mouseDragged(MouseEvent). Method in class macrolanguage.MouseManager
This method is a part of the MouseMotionListener interface and is called whenever a mouse is dragged.
mouseEntered(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseMotionListener interface.
mouseEntered(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseMotionListener interface.
mouseExited(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseMotionListener interface.
mouseExited(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseMotionListener interface.
mouseManager. Variable in class macrolanguage.FreeFormEdit
MouseManager(FreeFormEdit). Constructor for class macrolanguage.MouseManager
The constructor needs a pointer to it's FreeFormEdit owner so it will be able to respond to it's events with callback for methods.
mouseMoved(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseMotionListener interface.
mouseMoved(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseMotionListener interface.
mousePressed(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseListener interface.
mousePressed(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseListener interface.
mouseReleased(MouseEvent). Method in class macrolanguage.ComponentWrapper
required by the MouseListener interface.
mouseReleased(MouseEvent). Method in class macrolanguage.MouseManager
required by the MouseListener interface.

N

NO_RESIZE. Static variable in class macrolanguage.ProjectSettings
NotAContainerException(String). Constructor for class macrolanguage.NotAContainerException

P

placeComponentOnNextClick(Component). Method in class macrolanguage.FreeFormEdit
places the component comp on the next click on the free form edit surface.
placeComponentOnNextClick(Component). Method in class macrolanguage.MouseManager
places the component comp on the next click on the free form edit surface.
ProjectSettings(). Constructor for class macrolanguage.ProjectSettings

R

removeSelection(). Method in class macrolanguage.FreeFormEdit
removes the currently selected object from the free form edit.
RESIZE_ACTIVATION_BOUNDRY. Static variable in class macrolanguage.ProjectSettings
RESIZE_DOWN. Static variable in class macrolanguage.ProjectSettings
RESIZE_LEFT. Static variable in class macrolanguage.ProjectSettings
RESIZE_RIGHT. Static variable in class macrolanguage.ProjectSettings
RESIZE_UP. Static variable in class macrolanguage.ProjectSettings
resizeMode. Static variable in class macrolanguage.ProjectSettings
resizePossibleStates. Static variable in class macrolanguage.ProjectSettings

S

select(). Method in class macrolanguage.ComponentWrapper
mark this component as selected.
selection. Variable in class macrolanguage.FreeFormEdit
setJARFileName(String). Method in class macrolanguage.MacroExtention
this is a setter for the current JAR file name.
setSelection(Component). Method in class macrolanguage.FreeFormEdit
set the selection Component to be the selected Component.
setSize(Dimension). Method in class macrolanguage.ComponentWrapper
set the size of the component (and the container).
setSize(int, int). Method in class macrolanguage.ComponentWrapper
set the size of the component (and the container).
SimpleStream(). Constructor for class macrolanguage.SimpleStream
streamSize. Variable in class macrolanguage.MacroExtention
stringsWritten. Variable in class macrolanguage.SimpleStream

W

windowActivated(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowClosed(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowClosing(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowDeactivated(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowDeiconified(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowIconified(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
windowOpened(WindowEvent). Method in class macrolanguage.FreeFormEdit
this method is a part of the Windowlistener interface used to listen to window events.
write(byte[]). Method in class macrolanguage.SimpleStream
save a string of data to the stream vector.
write(byte[], int, int). Method in class macrolanguage.SimpleStream
save a string of data to the stream vector.
write(int). Method in class macrolanguage.SimpleStream
save an intger to the stream vector.