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

A

action(Event, Object) - Method in class objectdraw.AWTControllerFrame
Receives and reponsds to menu events.
actionPerformed(ActionEvent) - Method in class objectdraw.ControllerFrame
Dispose the frame when the user selects quit
activate() - Method in class objectdraw.ControllerStub
Initiate execution of the controller served by this stub by invoking its init and start methods.
ActiveObject - Class in objectdraw
The class ActiveObject is used to define objects controlled by sequences of instructions that are executed independently of and simultaneously with other instructions in a program.
ActiveObject() - Constructor for class objectdraw.ActiveObject
Construct an ActiveObject.
ActiveObject(String) - Constructor for class objectdraw.ActiveObject
Constructs an ActiveObject with a given name.
ActiveObject(ThreadGroup, Runnable, String) - Constructor for class objectdraw.ActiveObject
Construct a new ActiveObject with the specified name using the Runnable and ThreadGroup parameters to determine its behavior.
ActiveObjectEventInterface - Interface in objectdraw
Objects implementing this interface can be used with ActiveObject's scheduleEvent and scheduleClassEvent methods to give ActiveObjects custom behaviors.
addComponentListener(ComponentListener) - Method in interface objectdraw.DrawingCanvas
Requests that the specified ComponentListener be notified when the DrawingCanvas is hidden, shown, resized or moved.
addKeyListener(KeyListener) - Method in interface objectdraw.DrawingCanvas
Requests that the specified KeyListener be notified when keystokes occur.
addMouseListener(MouseListener) - Method in interface objectdraw.DrawingCanvas
Requests that the specified MouseListener be notified when the mouse is clicked, pressed, or released.
addMouseMotionListener(MouseMotionListener) - Method in interface objectdraw.DrawingCanvas
Requests that the specified MouseMotionListener be notified when the mouse is moved or dragged in the DrawingCanvas.
addToCanvas(Drawable) - Method in class objectdraw.CanvasManager
Adds a new object on top of existing objects.
addToCanvas(DrawingCanvas) - Method in class objectdraw.Drawable
 
addToCanvas(DrawingCanvas) - Method in interface objectdraw.DrawableInterface
Places an existing object on a specified DrawingCanvas.
addToCanvas(DrawingCanvas) - Method in class objectdraw.Text
 
addToCanvas(DrawingCanvas) - Method in class objectdraw.VisibleImage
 
AngLine - Class in objectdraw
AngLine is a variant of Line where the constructor takes a starting point and angle from the horizontal rather than two end points.
AngLine(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.AngLine
Creates a new Line given a starting location, length and direction.
AngLine(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.AngLine
Creates a new Line given a starting location, length and direction.
appletResize(int, int) - Method in class objectdraw.ControllerStub
Resize the frame used to display this controller
Arc - Class in objectdraw
Arc is an abstract class to be used as a superclass of FilledArc and FramedArc.
Arc(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.Arc
 
Arc(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.Arc
Creates a new FilledArc object.
Arc(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.Arc
Creates a new FilledArc object.
arcAngle - Variable in class objectdraw.Arc
 
arcHeight - Variable in class objectdraw.RoundedRect
 
arcWidth - Variable in class objectdraw.RoundedRect
 
AWTController - Class in objectdraw
AWTController is an AWT compatible class designed to be extended to produce programs that employ a GUI interface but do not include graphics displayed in a DrawingCanvas.
AWTController() - Constructor for class objectdraw.AWTController
 
AWTControllerFrame - Class in objectdraw
AWTControllerFrame is an extension of Frame that runs an Applet inside it.
AWTControllerFrame(String, AWTController, int, int) - Constructor for class objectdraw.AWTControllerFrame
 
AWTDrawingCanvas - Class in objectdraw
An AWTDrawingCanvas is an AWT GUI component designed for displaying simple graphics created by constructing Lines, FilledOvals, FilledRects, or any of the other objectdraw classes that implement DrawableInterface.
AWTDrawingCanvas() - Constructor for class objectdraw.AWTDrawingCanvas
Creates a new DrawingCanvas.
AWTDrawingCanvas(int, int) - Constructor for class objectdraw.AWTDrawingCanvas
Creates a new DrawingCanvas.
AWTDrawingCanvas(Dimension) - Constructor for class objectdraw.AWTDrawingCanvas
Creates a new DrawingCanvas.
AWTFrameCanvas - Class in objectdraw
AWTFrameCanvas is an extension of AWTDrawingCanvas that creates a Frame and puts an AWTDrawingCanvas inside.
AWTFrameCanvas() - Constructor for class objectdraw.AWTFrameCanvas
 
AWTFrameCanvas(int, int) - Constructor for class objectdraw.AWTFrameCanvas
Creates a new FrameCanvas.
AWTFrameCanvas(Dimension) - Constructor for class objectdraw.AWTFrameCanvas
Creates a new FrameCanvas.
AWTFrameController - Class in objectdraw
AWTFrameController is a version of AWTController intended to make it possible to run a controller outside the context of an applet viewer as appropriate with environments like BlueJ and Dr.
AWTFrameController() - Constructor for class objectdraw.AWTFrameController
Constructs a new FrameController.
AWTFrameWindowController - Class in objectdraw
AWTFrameWindowController is a version of AWTWindowController intended to make it possible to run a window controller outside the context of an applet viewer as appropriate with environments like BlueJ and Dr.
AWTFrameWindowController() - Constructor for class objectdraw.AWTFrameWindowController
Constructs a new AWTFrameController.
AWTInitializer - Class in objectdraw
Initializer is a thread that keeps trying to call WindowController's begin method until the WindowController's DrawingCanvas is properly initialized.
AWTInitializer(AWTWindowController) - Constructor for class objectdraw.AWTInitializer
Constructs a new AWTInitializer.
AWTSizeablePanel - Class in objectdraw
Panel that allows you to specify the desired width and height.
AWTSizeablePanel(int, int) - Constructor for class objectdraw.AWTSizeablePanel
Creates a Panel with specified with and height.
AWTWindowController - Class in objectdraw
AWTWindowController is an AWT compatible class designed to be extended to produce programs that handle simple mouse events and draw graphics in a single window on the screen.
AWTWindowController() - Constructor for class objectdraw.AWTWindowController
 
AWTWindowControllerListener - Class in objectdraw
Listener class designed to pass mouse events to simplified event handling methods associated with a WindowController.
AWTWindowControllerListener(AWTWindowController, DrawingCanvas) - Constructor for class objectdraw.AWTWindowControllerListener
Create a listener that will forward mouse events to specialized WindowController event handling methods.

B

baseHeight - Variable in class objectdraw.Text
The text's height above baseline.
begin() - Method in class objectdraw.AWTController
Programs written by extending AWTController can perform any required initialization by defining a begin method containing the code to perform the initialization steps.
begin() - Method in class objectdraw.AWTWindowController
 
begin() - Method in class objectdraw.Controller
Programs written by extending Controller can perform any required initialization by defining a begin method containing the code to perform the initialization steps.
begin() - Method in class objectdraw.WindowController
 
Bounds - Class in objectdraw
Bounds is a non-drawable bounding rectangle in the real plane.
Bounds(Location, double, double) - Constructor for class objectdraw.Bounds
Constructs a new Bounds object.
Bounds(double, double, double, double) - Constructor for class objectdraw.Bounds
Constructs a new Bounds object.

C

callBegin() - Method in class objectdraw.AWTController
Calls begin on this Controller at program startup
callBegin() - Method in class objectdraw.AWTWindowController
Checks to see if the Canvas' Graphics is not null and the Canvas has size.
canvas - Variable in class objectdraw.AWTWindowController
The canvas that the program creates automatically.
canvas - Variable in class objectdraw.Text
The convas on which the text is displayed
canvas - Variable in class objectdraw.VisibleImage
The convas on which the Image is displayed
canvas - Variable in class objectdraw.WindowController
The canvas that the program creates automatically.
canvasContent - Variable in class objectdraw.Drawable
The contents of the canvas on which the object is displayed.
CanvasManager - Class in objectdraw
A CanvasManager is automatically associated with each DrawingCanvas to manage the Drawable objects displayed on that canvas.
CanvasManager(Dimension, DrawingCanvas) - Constructor for class objectdraw.CanvasManager
Creates a CanvasManager.
clear() - Method in class objectdraw.AWTDrawingCanvas
 
clear() - Method in class objectdraw.CanvasManager
Clears the vector of all objects and redraws the screen.
clear() - Method in interface objectdraw.DrawingCanvas
Removes all objects from the DrawingCanvas.
clear() - Method in class objectdraw.JDrawingCanvas
 
clearCanvasContent() - Method in class objectdraw.Drawable
Set canvasContent to null to indicate object has been removed from its canvas.
color - Variable in class objectdraw.Drawable
The object's color.
componentHidden(ComponentEvent) - Method in class objectdraw.AWTDrawingCanvas
Invoked when component has been hidden.
componentHidden(ComponentEvent) - Method in class objectdraw.JDrawingCanvas
Invoked when component has been hidden.
componentMoved(ComponentEvent) - Method in class objectdraw.AWTDrawingCanvas
Invoked when component has been moved.
componentMoved(ComponentEvent) - Method in class objectdraw.JDrawingCanvas
Invoked when component has been moved.
componentResized(ComponentEvent) - Method in class objectdraw.AWTDrawingCanvas
Invoked when component has been resized.
componentResized(ComponentEvent) - Method in class objectdraw.JDrawingCanvas
Invoked when component has been resized.
componentShown(ComponentEvent) - Method in class objectdraw.AWTDrawingCanvas
Invoked when component has been shown.
componentShown(ComponentEvent) - Method in class objectdraw.JDrawingCanvas
Invoked when component has been shown.
contains(Location) - Method in class objectdraw.Arc
 
contains(Location) - Method in class objectdraw.Bounds
Determines if a point is contained by the object.
contains(Location) - Method in class objectdraw.Drawable
 
contains(Location) - Method in class objectdraw.Drawable2D
 
contains(Location) - Method in interface objectdraw.DrawableInterface
Determines if a particular position on the DrawingCanvas is contained within the object.
contains(Location) - Method in class objectdraw.Line
 
contains(Location) - Method in class objectdraw.Oval
 
contains(Location) - Method in class objectdraw.RoundedRect
 
Controller - Class in objectdraw
Controller is a Swing compatible class designed to be extended to produce programs that employ a GUI but do not include graphics displayed in a DrawingCanvas.
Controller() - Constructor for class objectdraw.Controller
 
ControllerContext - Class in objectdraw
An implementation of AppletContext designed to support Controller objects run as applications or under the control of development environments that support direct instantiation of objects better than running applets (i.e.
ControllerContext(Applet) - Constructor for class objectdraw.ControllerContext
Create a new Controller Context for the specified controller
ControllerFrame - Class in objectdraw
ControllerFrame is an extension of Frame that runs an Applet inside it.
ControllerFrame(String, Controller, int, int) - Constructor for class objectdraw.ControllerFrame
Constructs a new AppletFrame.
ControllerStub - Class in objectdraw
A class the implements the AppletStub interface designed to function as the applet stub for Controller's run as applications or under control of IDEs like BlueJ and DrJava.
ControllerStub(Applet, Frame) - Constructor for class objectdraw.ControllerStub
Create a new controller stub given a controller and the frame in which it will be displayed
createImage(int, int) - Method in interface objectdraw.DrawingCanvas
Creates an off-screen drawable image to be used for double buffering.

D

deactivate() - Method in class objectdraw.ControllerStub
Deactivate the associated controller
DEFAULT_PREFERRED_SIZE - Static variable in class objectdraw.AWTDrawingCanvas
default size for a JDrawingCanvas
DEFAULT_PREFERRED_SIZE - Static variable in class objectdraw.AWTFrameCanvas
 
DEFAULT_PREFERRED_SIZE - Static variable in class objectdraw.CanvasManager
The canvas' default preferred dimensions.
DEFAULT_PREFERRED_SIZE - Static variable in class objectdraw.FrameCanvas
 
DEFAULT_PREFERRED_SIZE - Static variable in class objectdraw.JDrawingCanvas
default size for a JDrawingCanvas
DEFAULT_WINDOW_HEIGHT - Static variable in class objectdraw.AWTController
 
DEFAULT_WINDOW_HEIGHT - Static variable in class objectdraw.Controller
 
DEFAULT_WINDOW_WIDTH - Static variable in class objectdraw.AWTController
default sizes for Controller window when run outside an applet viewer
DEFAULT_WINDOW_WIDTH - Static variable in class objectdraw.Controller
default sizes for Controller window when run outside an applet viewer
destroy() - Method in class objectdraw.AWTController
This predefined method is invoked by the appletviewer or web browser running a program that extends AWTController when the program's execution is complete.
destroy() - Method in class objectdraw.Controller
This predefined method is invoked by the appletviewer or web browser running a program that extends Controller when the program's execution is complete.
disableAutoRepaint() - Method in class objectdraw.AWTDrawingCanvas
 
disableAutoRepaint() - Method in class objectdraw.CanvasManager
Turns auto repaint off so the programmer must indicate when the canvas should be repainted.
disableAutoRepaint() - Method in interface objectdraw.DrawingCanvas
Requests that the DrawingCanvas not be automatically repainted after every change.
disableAutoRepaint() - Method in class objectdraw.JDrawingCanvas
 
distanceTo(Location) - Method in class objectdraw.Location
Determines the distance to the given Location.
draw(Graphics) - Method in class objectdraw.Drawable
Draws the object.
draw(Graphics) - Method in class objectdraw.Drawable2D
Draws the object.
draw(Graphics) - Method in class objectdraw.FilledArc
Draws the object.
draw(Graphics) - Method in class objectdraw.FilledOval
Draws the object.
draw(Graphics) - Method in class objectdraw.FilledRect
Draws the object.
draw(Graphics) - Method in class objectdraw.FilledRoundedRect
Draws the object.
draw(Graphics) - Method in class objectdraw.FramedArc
Draws the object.
draw(Graphics) - Method in class objectdraw.FramedOval
Draws the object.
draw(Graphics) - Method in class objectdraw.FramedRect
Draws the object.
draw(Graphics) - Method in class objectdraw.FramedRoundedRect
Draws the object.
draw(Graphics) - Method in class objectdraw.Line
Draws the object.
draw(Graphics) - Method in class objectdraw.Text
Draws the object.
draw(Graphics) - Method in class objectdraw.VisibleImage
Draws the object.
Drawable - Class in objectdraw
Drawable is a general base class for objects being placed on a DrawingCanvas.
Drawable() - Constructor for class objectdraw.Drawable
Creates a new Drawable object.
Drawable1DInterface - Interface in objectdraw
Drawable1DInterface describes the methods available for manipulating lines drawn on a DrawingCanvas.
Drawable2D - Class in objectdraw
Drawable2D extends Drawable and defines a set of accessor methods for the width, height, and location of Drawable objects.
Drawable2D() - Constructor for class objectdraw.Drawable2D
 
Drawable2DInterface - Interface in objectdraw
Drawable2DInterface describes the methods available for manipulating two-dimensional objects placed on a DrawingCanvas.
DrawableInterface - Interface in objectdraw
DrawableInterface describes the methods available for manipulating any graphical object placed on a DrawingCanvas.
DrawableIterator - Class in objectdraw
An object of type DrawableIterator can be obtained by invoking the getDrawableIterator method of a DrawaingCanvas and then used to write loops that sequentially process all the Drawable objects displayed on the associated canvas.
DrawableIterator(Vector) - Constructor for class objectdraw.DrawableIterator
Constructs a new DrawableIterator from a vector of Drawables.
DrawingCanvas - Interface in objectdraw
The DrawingCanvas interface describes the methods that are available on a drawing canvas.

E

enableAutoRepaint() - Method in class objectdraw.AWTDrawingCanvas
 
enableAutoRepaint() - Method in class objectdraw.CanvasManager
Turns auto repaint on so the programmer does not have to manually repaint after changing the canvas.
enableAutoRepaint() - Method in interface objectdraw.DrawingCanvas
Requests that the DrawingCanvas to be automatically repainted after every change without specifically calling repaint().
enableAutoRepaint() - Method in class objectdraw.JDrawingCanvas
 
end - Variable in class objectdraw.Line
The line's second endpoint.
equals(Object) - Method in class objectdraw.Location
Compares Location to another object
execute() - Method in interface objectdraw.ActiveObjectEventInterface
See scheduleEvent and scheduleClassEvent methods in ActiveObject.
execute() - Method in class objectdraw.InterruptableSuspendEvent
 
execute() - Method in class objectdraw.TerminateEvent
Causes ActiveOjects calling this method to terminate.
execute() - Method in class objectdraw.UnintSuspendEvent
Causes ActiveObjects calling this method to suspend in such a way that calling their interrupt methods will not unblock them.

F

FilledArc - Class in objectdraw
FilledArc is an implementation of a drawable filled arc object.
FilledArc(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledArc
Creates a new FilledArc object.
FilledArc(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledArc
Creates a new FilledArc object.
FilledArc(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledArc
Creates a new FilledArc object.
FilledOval - Class in objectdraw
FilledOval is an implementation of a drawable filled oval object.
FilledOval(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledOval
Constructs a new filled oval bounded by a rectangle with upper left corner at origin and dimensions given by width and height.
FilledOval(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledOval
Constructs a new filled oval bounded by a rectangle with upper left corner at (x,y) and dimensions given by width and height.
FilledOval(Location, Location, DrawingCanvas) - Constructor for class objectdraw.FilledOval
Constructs a new filled oval bounded by a rectangle with diagonal given by a line from p0 to p1.
FilledRect - Class in objectdraw
FilledRect is an implementation of a drawable filled rectangle object.
FilledRect(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledRect
Creates a new FilledRect object.
FilledRect(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledRect
Creates a new FilledRect object.
FilledRect(Location, Location, DrawingCanvas) - Constructor for class objectdraw.FilledRect
Creates a new FilledRect object.
FilledRoundedRect - Class in objectdraw
FilledRoundedRect is an implementation of a drawable filled rounded rectangle object.
FilledRoundedRect(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledRoundedRect
Creates a new FilledRoundedRect object.
FilledRoundedRect(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledRoundedRect
Creates a new FilledRoundedRect object.
FilledRoundedRect(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FilledRoundedRect
Creates a new FilledRoundedRect object.
fm - Variable in class objectdraw.Text
The Font metrics object associated with the canvas holding this text
font - Variable in class objectdraw.Text
The text's font.
FrameCanvas - Class in objectdraw
FrameCanvas is an extension of JDrawingCanvas that creates a JFrame and puts a JDrawingCanvas inside.
FrameCanvas() - Constructor for class objectdraw.FrameCanvas
Creates a new FrameCanvas.
FrameCanvas(int, int) - Constructor for class objectdraw.FrameCanvas
Creates a new FrameCanvas.
FrameCanvas(Dimension) - Constructor for class objectdraw.FrameCanvas
Creates a new FrameCanvas.
FrameController - Class in objectdraw
FrameController is a version of Controller intended to make it possible to run a controller outside the context of an applet viewer as appropriate with environments like BlueJ and Dr.
FrameController() - Constructor for class objectdraw.FrameController
Constructs a new FrameController.
FramedArc - Class in objectdraw
FramedArc is an implementation of a drawable framed arc object.
FramedArc(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedArc
Creates a new FramedArc object.
FramedArc(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedArc
Creates a new FramedArc object.
FramedArc(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedArc
Creates a new FramedArc object.
FramedOval - Class in objectdraw
FramedOval is an implementation of a drawable framed oval object.
FramedOval(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedOval
Constructs a new framed oval bounded by a rectangle with upper left corner at origin and dimensions given by width and height.
FramedOval(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedOval
Constructs a new framed oval bounded by a rectangle with upper left corner at (x,y) and dimensions given by width and height.
FramedOval(Location, Location, DrawingCanvas) - Constructor for class objectdraw.FramedOval
Constructs a new framed oval bounded by a rectangle with diagonal given by a line from p0 to p1.
FramedRect - Class in objectdraw
FramedRect is an implementation of a drawable framed rectangle object.
FramedRect(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedRect
Creates a new FramedRect object.
FramedRect(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedRect
Creates a new FramedRect object.
FramedRect(Location, Location, DrawingCanvas) - Constructor for class objectdraw.FramedRect
Creates a new FramedRect object.
FramedRoundedRect - Class in objectdraw
FramedRoundedRect is an implementation of a drawable framed rounded rectangle object.
FramedRoundedRect(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedRoundedRect
Creates a new FramedRoundedRect object.
FramedRoundedRect(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedRoundedRect
Creates a new FramedRoundedRect object.
FramedRoundedRect(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.FramedRoundedRect
Creates a new FramedRoundedRect object.
FrameWindowController - Class in objectdraw
FrameWindowController is a version of WindowController intended to make it possible to run a window controller outside the context of an applet viewer as appropriate with environments like BlueJ and Dr.
FrameWindowController() - Constructor for class objectdraw.FrameWindowController
Constructs a new FrameController.

G

g - Variable in class objectdraw.Text
The Graphics object associated with the canvas holding this text
getApplet(String) - Method in class objectdraw.ControllerContext
Always returns null on the assumption that this context only manages a single controller
getAppletContext() - Method in class objectdraw.ControllerStub
Access the applet context for this stub's controller
getApplets() - Method in class objectdraw.ControllerContext
Produce an enumeration that will provide access to the singleton collection of controllers managed by this context
getArcAngle() - Method in class objectdraw.Arc
Determine the angle spanned by this arc
getArcHeight() - Method in class objectdraw.RoundedRect
Gets the height of the arc that rounds off the corners.
getArcWidth() - Method in class objectdraw.RoundedRect
Gets the width of the arc that rounds off the corners.
getAudio(String) - Method in class objectdraw.AWTController
Retrieves an audio file
getAudio(String) - Method in class objectdraw.Controller
Retrieves an audio file
getAudioClip(URL) - Method in class objectdraw.ControllerContext
Access an audio file
getBounds() - Method in class objectdraw.Drawable2D
Gets the object's bounding rectangle
getBounds() - Method in class objectdraw.Rectangular
Retrieves the bounding rectangle of the object.
getBounds() - Method in class objectdraw.Text
Retrieves the bounding rectangle of the object.
getBounds() - Method in class objectdraw.VisibleImage
Retrieves the bounding rectangle of the object.
getCanvas() - Method in class objectdraw.CanvasManager
Access the DrawingCanvas associated with this manater
getCanvas() - Method in class objectdraw.Drawable
 
getCanvas() - Method in interface objectdraw.DrawableInterface
Determine which (if any) DrawingCanvas this object is positioned on
getCanvasContent() - Method in class objectdraw.AWTDrawingCanvas
 
getCanvasContent() - Method in interface objectdraw.DrawingCanvas
Retrieves the CanvasManager that keeps track of all of the Drawable objects currently associated with this DrawingCanvas.
getCanvasContent() - Method in class objectdraw.JDrawingCanvas
 
getCodeBase() - Method in class objectdraw.ControllerStub
Determine the URL for the source of code and other resources for the associated controller
getColor() - Method in class objectdraw.Drawable
 
getColor() - Method in interface objectdraw.DrawableInterface
Retrieves the color of the object.
getDocumentBase() - Method in class objectdraw.ControllerStub
Determine the URL for the source of code and other resources for the associated controller
getDrawableIterator() - Method in class objectdraw.AWTDrawingCanvas
 
getDrawableIterator() - Method in class objectdraw.CanvasManager
Creates and returns an iterator of all the objects in the CanvasManager
getDrawableIterator() - Method in interface objectdraw.DrawingCanvas
Creates and returns an iterator of all the objects on the DrawingCanvas
getDrawableIterator() - Method in class objectdraw.JDrawingCanvas
 
getEnd() - Method in interface objectdraw.Drawable1DInterface
Gets the line's end point.
getEnd() - Method in class objectdraw.Line
 
getFont() - Method in class objectdraw.Text
Retrieves the text object's font.
getGraphics() - Method in interface objectdraw.DrawingCanvas
Get a Graphic object associated with this DrawingCanvas.
getHeight() - Method in class objectdraw.AWTDrawingCanvas
 
getHeight() - Method in class objectdraw.Bounds
Retrieves the bounding rectangle's height.
getHeight() - Method in class objectdraw.Drawable2D
 
getHeight() - Method in interface objectdraw.Drawable2DInterface
Get the height of a graphical object
getHeight() - Method in interface objectdraw.DrawingCanvas
Determine the current height of a DrawingCanvas.
getHeight() - Method in class objectdraw.Rectangular
 
getHeight() - Method in class objectdraw.Text
 
getHeight() - Method in class objectdraw.VisibleImage
 
getImage(String) - Method in class objectdraw.AWTController
Retrieves an image.
getImage(String) - Method in class objectdraw.Controller
Retrieves an image.
getImage(URL) - Method in class objectdraw.ControllerContext
access an image file
getImage() - Method in class objectdraw.VisibleImage
Access the (unscaled) Image currently displayed by this VisibleImage
getLocation() - Method in class objectdraw.Bounds
Retrieves the location of the bounding rectangle's upper left corner.
getLocation() - Method in class objectdraw.Drawable2D
 
getLocation() - Method in interface objectdraw.Drawable2DInterface
Get a graphical object's position
getMinimumSize() - Method in class objectdraw.AWTSizeablePanel
Retrieves the minimum size of panel.
getMinimumSize() - Method in class objectdraw.SizeablePanel
Retrieves the minimum size of panel.
getParameter(String) - Method in class objectdraw.ControllerStub
Return emtpy string in response to any request for parameter values since this stub does not handle parameters.
getPreferredSize() - Method in class objectdraw.AWTDrawingCanvas
Retrieves the drawing canvas' preferred size.
getPreferredSize() - Method in class objectdraw.AWTFrameCanvas
Returns the preferred size of the Frame
getPreferredSize() - Method in class objectdraw.AWTSizeablePanel
Retrieves the preferred size of panel.
getPreferredSize() - Method in class objectdraw.FrameCanvas
Returns the preferred size of the Frame.
getPreferredSize() - Method in class objectdraw.JDrawingCanvas
Retrieves the object's preferred size.
getPreferredSize() - Method in class objectdraw.SizeablePanel
Retrieves the preferred size of panel.
getSize() - Method in interface objectdraw.DrawingCanvas
Determine the current size of a DrawingCanvas.
getStart() - Method in interface objectdraw.Drawable1DInterface
Gets the line's start point.
getStart() - Method in class objectdraw.Line
 
getStartAngle() - Method in class objectdraw.Arc
Determine the starting angle for an arc
getStream(String) - Method in class objectdraw.ControllerContext
Null implementation of unsupported getStream method
getStreamKeys() - Method in class objectdraw.ControllerContext
Null implemenation of unsupported getStreamKeys method
getText() - Method in class objectdraw.Text
Gets the text of the object.
getVersion() - Static method in class objectdraw.Controller
Determine the version of the objectdraw library being used.
getWidth() - Method in class objectdraw.AWTDrawingCanvas
 
getWidth() - Method in class objectdraw.Bounds
Retrieves the bounding rectangle's width.
getWidth() - Method in class objectdraw.Drawable2D
 
getWidth() - Method in interface objectdraw.Drawable2DInterface
Get the width of a graphical object
getWidth() - Method in interface objectdraw.DrawingCanvas
Determine the current width of a DrawingCanvas.
getWidth() - Method in class objectdraw.Rectangular
 
getWidth() - Method in class objectdraw.Text
 
getWidth() - Method in class objectdraw.VisibleImage
 
getX() - Method in class objectdraw.Bounds
Retrieves the x coordinate of the bounding rectangle's upper left corner.
getX() - Method in class objectdraw.Drawable2D
 
getX() - Method in interface objectdraw.Drawable2DInterface
Get the x coordinate of left edge of rectangle bounding the object
getX() - Method in class objectdraw.Location
Retrieves the Location's x coordinate.
getY() - Method in class objectdraw.Bounds
Retrieves the y coordinate of the bounding rectangle's upper left corner.
getY() - Method in class objectdraw.Drawable2D
 
getY() - Method in interface objectdraw.Drawable2DInterface
Get the y coordinate of top edge of rectangle bounding the object
getY() - Method in class objectdraw.Location
Retrieves the Location's y coordinate.

H

hashCode() - Method in class objectdraw.Location
Generates a hashCode for a Location
hasNext() - Method in class objectdraw.DrawableIterator
Tells whether the iterator has any more elements to return
height - Variable in class objectdraw.Rectangular
The rectangle's height.
height - Variable in class objectdraw.Text
The text's height.
helpinit() - Method in class objectdraw.Controller
 
helpinit() - Method in class objectdraw.FrameController
Set an instance variable so that paint will know whether or not the controller has been initialized.
helpinit() - Method in class objectdraw.FrameWindowController
Set an instance variable so that paint will know whether or not the controller has been initialized.
helpinit() - Method in class objectdraw.WindowController
Initializes the program by creating a window containing a canvas and invoking the user supplied begin method.
hide() - Method in class objectdraw.Drawable
 
hide() - Method in interface objectdraw.DrawableInterface
Temporarily hides an object on a DrawingCanvas from view.

I

image - Variable in class objectdraw.VisibleImage
The object's image data.
imageUpdate(Image, int, int, int, int, int) - Method in class objectdraw.AWTDrawingCanvas
Notifies the CanvasManager of a change in the state of an image being loaded and then calls the native java method imageUpdate.
imageUpdate(Image, int, int, int, int, int) - Method in class objectdraw.JDrawingCanvas
Repaints the component when the image has changed.
init() - Method in class objectdraw.AWTController
This predefined method is invoked by the applet viewer or web browser used to run a program that extends AWTController to initiate the execution of the program.
init() - Method in class objectdraw.AWTFrameController
Set an instance variable so that paint will know whether or not the controller has been initialized.
init() - Method in class objectdraw.AWTFrameWindowController
Set an instance variable so that paint will know whether or not the controller has been initialized.
init() - Method in class objectdraw.AWTWindowController
Initializes the program by creating a window containing a canvas and invoking the user supplied begin method.
init() - Method in class objectdraw.Controller
This predefined method is invoked by the applet viewer or web browser used to run a program that extends Controller to initiate the execution of the program.
initializeEventList() - Static method in class objectdraw.ActiveObject
Initializes the event list that handles threads
InterruptableSuspendEvent - Class in objectdraw
An ActiveObjectEventInterface event that causes ActiveObjects executing it to suspend in such a way that calling their interrupt methods will unblock them.
InterruptableSuspendEvent() - Constructor for class objectdraw.InterruptableSuspendEvent
 
intersects(Bounds) - Method in class objectdraw.Bounds
Determines if another Bounds object intersects this one.
introspect() - Static method in class objectdraw.ActiveObject
The ActiveObject calling introspect calls the execute methods of the ActiveObjectEventInterface events it has been scheduled to call by calls to scheduleEvent and scheduleClassEvent.
isActive() - Method in class objectdraw.ControllerStub
Determine whether the associated controller is still active
isExpired() - Method in interface objectdraw.ActiveObjectEventInterface
Returns true if it is okay for this ActiveObjectEventInterface to be ignored.
isExpired() - Method in class objectdraw.SuspendEvent
Returns true if resume has been called and false otherwise.
isExpired() - Method in class objectdraw.TerminateEvent
TerminateEvents never expire.
isHidden() - Method in class objectdraw.Drawable
 
isHidden() - Method in interface objectdraw.DrawableInterface
Determine whether an object is currently visible on its canvas

J

JDrawingCanvas - Class in objectdraw
A JDrawingCanvas is a Swing GUI component designed for displaying simple graphics created by instantiating members of subclasses of the Drawable class.
JDrawingCanvas() - Constructor for class objectdraw.JDrawingCanvas
Creates a new DrawingCanvas.
JDrawingCanvas(int, int) - Constructor for class objectdraw.JDrawingCanvas
Creates a new DrawingCanvas.
JDrawingCanvas(Dimension) - Constructor for class objectdraw.JDrawingCanvas
Creates a new DrawingCanvas.

L

Line - Class in objectdraw
Line is an implementation of a drawable line segment object.
Line(Location, Location, DrawingCanvas) - Constructor for class objectdraw.Line
Creates a new Line object going from start to end.
Line(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.Line
Creates a new Line object going from (startx,starty) to (endx,endy).
Location - Class in objectdraw
Location is an implementation of a point on the real plane.
Location(double, double) - Constructor for class objectdraw.Location
Constructs a new Location object.
Location(Location) - Constructor for class objectdraw.Location
Constructs a copy of a Location object.
Location(Point) - Constructor for class objectdraw.Location
Constructs a new Location object based on a Point object.

M

mouseClicked(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when the mouse has been clicked on the canvas.
mouseClicked(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when the mouse has been clicked on the canvas.
mouseDragged(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when a mouse button is pressed on the canvas and then dragged.
mouseDragged(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when a mouse button is pressed on the canvas and then dragged.
mouseEntered(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when the mouse enters the canvas.
mouseEntered(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when the mouse enters the canvas.
mouseExited(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when the mouse exits the canvas.
mouseExited(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when the mouse exits the canvas.
mouseMoved(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when the mouse button has been moved on a component (with no buttons no down).
mouseMoved(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when the mouse button has been moved on a component (with no buttons no down).
mousePressed(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when a mouse button has been pressed on the canvas.
mousePressed(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when a mouse button has been pressed on the canvas.
mouseReleased(MouseEvent) - Method in class objectdraw.AWTWindowControllerListener
Invoked when a mouse button has been released on the canvas.
mouseReleased(MouseEvent) - Method in class objectdraw.WindowControllerListener
Invoked when a mouse button has been released on the canvas.
move(double, double) - Method in class objectdraw.Drawable
 
move(double, double) - Method in interface objectdraw.DrawableInterface
Moves the object within the canvas in the x and y direction by the amounts specified as parameters.
move(double, double) - Method in class objectdraw.Line
 
move(double, double) - Method in class objectdraw.Resizable2D
 
move(double, double) - Method in class objectdraw.Text
 
move(double, double) - Method in class objectdraw.VisibleImage
 
moveTo(Location) - Method in class objectdraw.Drawable
 
moveTo(double, double) - Method in class objectdraw.Drawable
 
moveTo(Location) - Method in interface objectdraw.DrawableInterface
Moves the object within the canvas to the specified Location
moveTo(double, double) - Method in interface objectdraw.DrawableInterface
Moves the object within the canvas to the x and y coordinates provided.
moveTo(double, double) - Method in class objectdraw.Line
 
moveTo(Location) - Method in class objectdraw.Resizable2D
 
moveTo(Location) - Method in class objectdraw.Text
 
moveTo(Location) - Method in class objectdraw.VisibleImage
 

N

next() - Method in class objectdraw.DrawableIterator
Gives the next Drawable in the Vector
nextValue() - Method in class objectdraw.RandomDoubleGenerator
Retrieves a new double value from the generator.
nextValue() - Method in class objectdraw.RandomIntGenerator
Retrieves a new integer value from the generator.

O

objectdraw - package objectdraw
 
onMouseClick(Location) - Method in class objectdraw.AWTWindowController
Invoked when the mouse has been clicked on the WindowController's canvas.
onMouseClick(Location) - Method in class objectdraw.WindowController
Invoked when the mouse has been clicked on the WindowController's canvas.
onMouseDrag(Location) - Method in class objectdraw.AWTWindowController
Invoked when a mouse button is pressed on a component and then dragged.
onMouseDrag(Location) - Method in class objectdraw.WindowController
Invoked when a mouse button is pressed on the canvas and then dragged.
onMouseEnter(Location) - Method in class objectdraw.AWTWindowController
Invoked when the mouse enters the WindowController's canvas.
onMouseEnter(Location) - Method in class objectdraw.WindowController
Invoked when the mouse enters the WindowController's canvas.
onMouseExit(Location) - Method in class objectdraw.AWTWindowController
Invoked when the mouse exits the WindowController's canvas.
onMouseExit(Location) - Method in class objectdraw.WindowController
Invoked when the mouse exits the the WindowController's canvas.
onMouseMove(Location) - Method in class objectdraw.AWTWindowController
Invoked when the mouse button has been moved on the WindowController's canvas (with no buttons depressed).
onMouseMove(Location) - Method in class objectdraw.WindowController
Invoked when the mouse button has been moved on the canvas (with no buttons down).
onMousePress(Location) - Method in class objectdraw.AWTWindowController
Invoked when a mouse button has been pressed on the WindowController's canvas.
onMousePress(Location) - Method in class objectdraw.WindowController
Invoked when a mouse button has been pressed on the WindowController's canvas.
onMouseRelease(Location) - Method in class objectdraw.AWTWindowController
Invoked when a mouse button has been released on the WindowController's canvas.
onMouseRelease(Location) - Method in class objectdraw.WindowController
Invoked when a mouse button has been released on the WindowController's canvas.
origin - Variable in class objectdraw.Text
The location of the upper-left-most point of the text
Oval - Class in objectdraw
Oval is an abstract base class representing drawable oval objects.
Oval(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.Oval
Constructs a new oval bounded by a rectangle with upper left corner at origin and dimensions given by width and height.
Oval(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.Oval
Constructs a new oval bounded by a rectangle with upper left corner at (x,y) and dimensions given by width and height.
Oval(Location, Location, DrawingCanvas) - Constructor for class objectdraw.Oval
Constructs a new oval bounded by a rectangle with diagonal given by a line from p0 to p1.
overlaps(Drawable2DInterface) - Method in class objectdraw.Drawable2D
 
overlaps(Drawable2DInterface) - Method in interface objectdraw.Drawable2DInterface
Determines if another Drawable's bounding rectangle overlaps with this object's bounding rectangle.

P

paint(Graphics) - Method in class objectdraw.AWTDrawingCanvas
Paints the canvas by calling the real paint method in the CanvasManager
paint(Graphics) - Method in class objectdraw.AWTFrameController
This method is overriden to simulate the initialization of applets when a controller is actually run by simply creating an instance of the object.
paint(Graphics) - Method in class objectdraw.AWTFrameWindowController
This method is overriden to simulate the initialization of applets when a controller is actually run by simply creating an instance of the object.
paint(Graphics) - Method in class objectdraw.CanvasManager
Paints the canvas.
paint(Graphics) - Method in class objectdraw.FrameController
This method is overriden to simulate the initialization of applets when a controller is actually run by simply creating an instance of the object.
paint(Graphics) - Method in class objectdraw.FrameWindowController
This method is overriden to simulate the initialization of applets when a controller is actually run by simply creating an instance of the object.
paint(Graphics) - Method in class objectdraw.JDrawingCanvas
Paints the canvas by calling the real paint method of the CanvasManager
pause(long) - Static method in class objectdraw.ActiveObject
Suspend the execution of this ActiveObject for at least the time period specified.
pause(double) - Static method in class objectdraw.ActiveObject
Suspend the execution of this ActiveObject for at least the time period specified.
pause(long, int) - Static method in class objectdraw.ActiveObject
Suspend the execution of this ActiveObject for at least the time period specified.
placeInFrame(int, int) - Method in class objectdraw.AWTController
Associate of this controller with an independent window.
placeInFrame(int, int) - Method in class objectdraw.Controller
Associate of this controller with an independent window.
prepareImage(Image, ImageObserver) - Method in interface objectdraw.DrawingCanvas
Prepares an image for rendering on the DrawingCanvas.

R

RandomDoubleGenerator - Class in objectdraw
A generator that provides random double between two values upon demand.
RandomDoubleGenerator(double, double) - Constructor for class objectdraw.RandomDoubleGenerator
Constructs a new RandomDoubleGenerator that can generate values v such that min <= v < max.
RandomIntGenerator - Class in objectdraw
A generator that provides random integer between two values upon demand
RandomIntGenerator(int, int) - Constructor for class objectdraw.RandomIntGenerator
Constructs a new RandomInt that can generate values v such that min <= v <= max.
Rect - Class in objectdraw
Rect is an abstract class representing rectangle objects.
Rect(Location, double, double, DrawingCanvas) - Constructor for class objectdraw.Rect
Creates a new Rect object.
Rect(double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.Rect
Creates a new Rect object.
Rect(Location, Location, DrawingCanvas) - Constructor for class objectdraw.Rect
Creates a new Rect object.
Rectangular - Class in objectdraw
Rectangular is an abstract class that can be specialized to a drawable two-dimensional object.
Rectangular(Location, double, double) - Constructor for class objectdraw.Rectangular
Creates a new Rect object.
Rectangular(double, double, double, double) - Constructor for class objectdraw.Rectangular
Creates a new Rect object.
Rectangular(Location, Location) - Constructor for class objectdraw.Rectangular
Creates a new Rect object.
removeFromCanvas(Drawable) - Method in class objectdraw.CanvasManager
Removes the Drawable d from the canvas.
removeFromCanvas() - Method in class objectdraw.Drawable
 
removeFromCanvas() - Method in interface objectdraw.DrawableInterface
Permanently removes the object from the canvas it is currently on.
repaint() - Method in class objectdraw.AWTDrawingCanvas
 
repaint() - Method in interface objectdraw.DrawingCanvas
Requests that the contents of the canvas be redrawn.
repaint() - Method in class objectdraw.JDrawingCanvas
 
REPAINT_DELAY - Variable in class objectdraw.AWTDrawingCanvas
The amount by which repaint requests should be delayed
REPAINT_DELAY - Variable in class objectdraw.JDrawingCanvas
The amount by which repaint requests should be delayed
requestFocus() - Method in interface objectdraw.DrawingCanvas
Requests that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.
requestFocusInWindow() - Method in interface objectdraw.DrawingCanvas
Requests that this Component get the input focus.
Resizable2D - Class in objectdraw
Resizable2D is the implementation of the Resizable2D interface which defines mutator methods for two dimensional, drawable objects.
Resizable2D() - Constructor for class objectdraw.Resizable2D
 
Resizable2DInterface - Interface in objectdraw
Resizable2DInterface describes the methods available for manipulating objects on a DrawingCanvas that can be resized under program control.
resize(int, int) - Method in class objectdraw.AWTController
Resize the window in which this controller is running (if possible)
resize(int, int) - Method in class objectdraw.Controller
Resize the window in which this controller is running (if possible)
resume() - Method in class objectdraw.SuspendEvent
Causes ActiveObjects suspended using this SuspendEvent to resume.
RoundedRect - Class in objectdraw
RoundedRect is an abstract base class for drawable rounded rectangular objects.
RoundedRect(double, double, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.RoundedRect
Creates a new RoundedRect object.
RoundedRect(Location, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.RoundedRect
Creates a new RoundedRect object.
RoundedRect(Location, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.RoundedRect
Creates a new RoundedRect object.
run() - Method in class objectdraw.AWTInitializer
Tries callBegin until the WindowController is set up and ready to have begin called on it.

S

scheduleClassEvent(ActiveObjectEventInterface) - Static method in class objectdraw.ActiveObject
Schedules event's execute method to be called once by all ActiveObjects not yet dead, including those yet to be created.
scheduleEvent(ActiveObjectEventInterface) - Method in class objectdraw.ActiveObject
Schedules event's execute method to be called once by this ActiveObject.
sendBackward() - Method in class objectdraw.Drawable
 
sendBackward() - Method in interface objectdraw.DrawableInterface
Sends the object backward.
sendForward() - Method in class objectdraw.Drawable
 
sendForward() - Method in interface objectdraw.DrawableInterface
Sends the object forward.
sendObjectBackward(Drawable) - Method in class objectdraw.CanvasManager
Sends an object backward.
sendObjectForward(Drawable) - Method in class objectdraw.CanvasManager
Sends an object forward.
sendObjectToBack(Drawable) - Method in class objectdraw.CanvasManager
Sends an object to the back.
sendObjectToFront(Drawable) - Method in class objectdraw.CanvasManager
Sends an object to the front.
sendToBack() - Method in class objectdraw.Drawable
 
sendToBack() - Method in interface objectdraw.DrawableInterface
Sends the object to the back.
sendToFront() - Method in class objectdraw.Drawable
 
sendToFront() - Method in interface objectdraw.DrawableInterface
Sends the object to the front.
setArcAngle(double) - Method in class objectdraw.Arc
Change the angle spanned by this arc
setArcHeight(double) - Method in class objectdraw.RoundedRect
Change the arc height for the rounded corners of a rounded rectangle
setArcWidth(double) - Method in class objectdraw.RoundedRect
Change the width for the rounded corners of a rounded rectangle
setBackground(Color) - Method in interface objectdraw.DrawingCanvas
Sets the background color of the canvas.
setBold(boolean) - Method in class objectdraw.Text
Toggles whether the text object's style is bold or not.
setBounds(Bounds) - Method in class objectdraw.Rectangular
 
setBounds(Bounds) - Method in class objectdraw.Resizable2D
 
setBounds(Bounds) - Method in class objectdraw.VisibleImage
 
setCanvasContent(CanvasManager) - Method in class objectdraw.Drawable
Save a reference to the CanvasManager for the canvas in which this object is currently displayed.
setColor(Color) - Method in class objectdraw.Drawable
 
setColor(Color) - Method in interface objectdraw.DrawableInterface
Sets the color of the object.
setDimensions(double, double) - Method in class objectdraw.Bounds
Sets the rectangle's width and height.
setEnd(Location) - Method in interface objectdraw.Drawable1DInterface
Sets the line's end point.
setEnd(double, double) - Method in interface objectdraw.Drawable1DInterface
Sets the line's end point.
setEnd(Location) - Method in class objectdraw.Line
 
setEnd(double, double) - Method in class objectdraw.Line
 
setEndPoints(Location, Location) - Method in interface objectdraw.Drawable1DInterface
Sets the line's end points.
setEndPoints(double, double, double, double) - Method in interface objectdraw.Drawable1DInterface
Sets the line's end points.
setEndPoints(Location, Location) - Method in class objectdraw.Line
 
setEndPoints(double, double, double, double) - Method in class objectdraw.Line
 
setFont(Font) - Method in class objectdraw.Text
Sets the text object's font.
setFont(String) - Method in class objectdraw.Text
Sets the text object's font.
setFontSize(int) - Method in class objectdraw.Text
Sets the text object's font size.
setForeground(Color) - Method in interface objectdraw.DrawingCanvas
Sets the foreground color of the canvas
setHeight(double) - Method in class objectdraw.Bounds
Sets the bounding rectangle's height.
setHeight(double) - Method in class objectdraw.Rectangular
 
setHeight(double) - Method in class objectdraw.Resizable2D
 
setHeight(double) - Method in interface objectdraw.Resizable2DInterface
Sets the height of the object's bounding rectangle
setHeight(double) - Method in class objectdraw.VisibleImage
 
setImage(Image) - Method in class objectdraw.VisibleImage
Change the Image displayed by this VisibleImage
setItalic(boolean) - Method in class objectdraw.Text
Toggles whether the text object's style is italics or not.
setLocation(Location) - Method in class objectdraw.Bounds
Sets a new location for the upper left corner of the bounding rectangle.
setLocation(double, double) - Method in class objectdraw.Bounds
Sets a new location for the upper left corner of the bounding rectangle.
setPlain() - Method in class objectdraw.Text
Sets the text object's font to have plain style.
setSize(Dimension) - Method in class objectdraw.AWTFrameCanvas
Sets the size of the Frame to the given Dimension
setSize(int, int) - Method in class objectdraw.AWTFrameCanvas
Sets the size of the Frame to the given width and height
setSize(Dimension) - Method in class objectdraw.FrameCanvas
Sets the size of the Frame to the given Dimension.
setSize(int, int) - Method in class objectdraw.FrameCanvas
Sets the size of the Frame to the given width and height.
setSize(double, double) - Method in class objectdraw.Rectangular
 
setSize(double, double) - Method in class objectdraw.Resizable2D
 
setSize(double, double) - Method in interface objectdraw.Resizable2DInterface
Sets the width and height of the rectangle bounding the object.
setSize(double, double) - Method in class objectdraw.VisibleImage
 
setStart(Location) - Method in interface objectdraw.Drawable1DInterface
Sets the line's start point.
setStart(double, double) - Method in interface objectdraw.Drawable1DInterface
Sets the line's start point.
setStart(Location) - Method in class objectdraw.Line
 
setStart(double, double) - Method in class objectdraw.Line
 
setStartAngle(double) - Method in class objectdraw.Arc
Change the starting position for this arc
setStateChanged() - Method in class objectdraw.CanvasManager
When invoked sets the stateChanged boolean to true and calls repaint() if enabled.
setStateChanged() - Method in class objectdraw.Drawable
Sets the state of the object to be changed so that it gets repainted.
setStream(String, InputStream) - Method in class objectdraw.ControllerContext
Null implementation of unsupported setStream method
setText(String) - Method in class objectdraw.Text
Sets the text object's value to the String text.
setText(long) - Method in class objectdraw.Text
Sets the text object's value to the representation of a short, int, byte, or long value.
setText(boolean) - Method in class objectdraw.Text
Sets the text object's value to display a boolean value.
setText(char) - Method in class objectdraw.Text
Sets the text object's value to the char text
setText(double) - Method in class objectdraw.Text
Sets the text object's value to the text representation of a double
setText(Object) - Method in class objectdraw.Text
Sets the text object's value to a representation of the Object text
setup() - Method in class objectdraw.AWTController
Performs initilization steps common to Controllers and WindowControllers.
setup() - Method in class objectdraw.Controller
Initialization common to Controllers and WindowControllers.
setWidth(double) - Method in class objectdraw.Bounds
Sets the bounding rectangle's width.
setWidth(double) - Method in class objectdraw.Rectangular
 
setWidth(double) - Method in class objectdraw.Resizable2D
 
setWidth(double) - Method in interface objectdraw.Resizable2DInterface
Sets the width of the object's bounding rectangle
setWidth(double) - Method in class objectdraw.VisibleImage
 
show() - Method in class objectdraw.Drawable
 
show() - Method in interface objectdraw.DrawableInterface
Shows the object if it has been hidden.
showDocument(URL) - Method in class objectdraw.ControllerContext
Unsupported.
showDocument(URL, String) - Method in class objectdraw.ControllerContext
Unsupported.
shown - Variable in class objectdraw.Drawable
Whether the object is currently visible on its canvas
showStatus(String) - Method in class objectdraw.ControllerContext
Display a message in the applet status area
SizeablePanel - Class in objectdraw
Panel that allows you to specify the width and height.
SizeablePanel(int, int) - Constructor for class objectdraw.SizeablePanel
Creates a Panel with specified with and height.
start() - Method in class objectdraw.AWTController
This predefined method is invoked by the appletviewer or web browser running a program that extends AWTController when the program should commence or resume active execution.
start() - Method in class objectdraw.Controller
This predefined method is invoked by the appletviewer or web browser running a program that extends Controller when the program should commence or resume active execution.
start - Variable in class objectdraw.Line
The line's first endpoint.
startAngle - Variable in class objectdraw.Arc
 
startController(int, int) - Method in class objectdraw.AWTController
Run this controller in an independent window of the specified size.
startController() - Method in class objectdraw.AWTController
Run this controller in an independent window of default size.
startController(int, int) - Method in class objectdraw.Controller
Run this controller in an independent window of the specified size.
startController() - Method in class objectdraw.Controller
Run this controller in an independent window of default size.
stop() - Method in class objectdraw.AWTController
This predefined method is invoked by the appletviewer or web browser running a program that extends AWTController when the program should cease active execution.
stop() - Method in class objectdraw.Controller
This predefined method is invoked by the appletviewer or web browser running a program that extends Controller when the program should cease active execution.
SuspendEvent - Class in objectdraw
An ActiveObjectEventInterface event that causes ActiveObjects executing it to suspend.
SuspendEvent() - Constructor for class objectdraw.SuspendEvent
 

T

TerminateEvent - Class in objectdraw
An ActiveObjectEventInterface event that causes ActiveObjects executing it to terminate.
TerminateEvent() - Constructor for class objectdraw.TerminateEvent
 
Text - Class in objectdraw
Text is an implementation of text strings that can be drawn on a Drawingcanvas.
Text(Object, Location, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays an arbitrary Object.
Text(Object, double, double, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays an arbitrary Object.
Text(boolean, Location, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a boolean.
Text(boolean, double, double, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a boolean.
Text(char, Location, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a char.
Text(char, double, double, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a char.
Text(long, Location, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a short, int, byte or long.
Text(long, double, double, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a short, int, byte or long.
Text(double, Location, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a double or float.
Text(double, double, double, DrawingCanvas) - Constructor for class objectdraw.Text
Creates a new Text object that displays a double or float.
text - Variable in class objectdraw.Text
The object's text contents.
toPoint() - Method in class objectdraw.Location
Retrieves the nearest point with integer coordinates as a Point.
toRectangle() - Method in class objectdraw.Bounds
Retrieves a Rectangle representation of the object.
toString() - Method in class objectdraw.Arc
Generates a string representation of the object.
toString() - Method in class objectdraw.Bounds
Retrieves a string representation of the object.
toString() - Method in class objectdraw.FilledArc
Generates a string representation of the object.
toString() - Method in class objectdraw.FilledOval
Generates a string representation of the object.
toString() - Method in class objectdraw.FilledRect
Generates a string representation of the object.
toString() - Method in class objectdraw.FilledRoundedRect
Generates a string representation of the object.
toString() - Method in class objectdraw.FramedArc
Generates a string representation of the object.
toString() - Method in class objectdraw.FramedOval
Generates a string representation of the object.
toString() - Method in class objectdraw.FramedRect
Generates a string representation of the object.
toString() - Method in class objectdraw.FramedRoundedRect
Generates a string representation of the object.
toString() - Method in class objectdraw.Line
Generates a string representation of the object.
toString() - Method in class objectdraw.Location
Generates a string representation of the Location.
toString() - Method in class objectdraw.Oval
Generates a string representation of the oval.
toString() - Method in class objectdraw.RandomDoubleGenerator
produce String description of this random number generator
toString() - Method in class objectdraw.RandomIntGenerator
produce String description of this random number generator
toString() - Method in class objectdraw.Rect
Generates a string representation of the object.
toString() - Method in class objectdraw.RoundedRect
Generates a string representation of the object.
toString() - Method in class objectdraw.Text
Generates a string representation of the object.
translate(double, double) - Method in class objectdraw.Bounds
Translates the rectangle by the given increments.
translate(double, double) - Method in class objectdraw.Location
Translates the Location by the given increments.

U

UnintSuspendEvent - Class in objectdraw
An ActiveObjectEventInterface event that causes ActiveObjects executing it to suspend in such a way that calling their interrupt methods will not unblock them.
UnintSuspendEvent() - Constructor for class objectdraw.UnintSuspendEvent
 
update(Graphics) - Method in class objectdraw.AWTDrawingCanvas
Paints the canvas.
update(Graphics) - Method in class objectdraw.JDrawingCanvas
Paints the canvas.

V

VisibleImage - Class in objectdraw
A VisibleImage represents an Image that can be drawn on the canvas.
VisibleImage(Image, Location, DrawingCanvas) - Constructor for class objectdraw.VisibleImage
Creates a new VisibleImage object.
VisibleImage(Image, double, double, DrawingCanvas) - Constructor for class objectdraw.VisibleImage
Creates a new VisibleImage object.
VisibleImage(Image, Location, double, double, DrawingCanvas) - Constructor for class objectdraw.VisibleImage
Creates a new VisibleImage object.
VisibleImage(Image, double, double, double, double, DrawingCanvas) - Constructor for class objectdraw.VisibleImage
Creates a new VisibleImage object.

W

width - Variable in class objectdraw.Rectangular
The rectangle's width.
width - Variable in class objectdraw.Text
The text's width.
windowActivated(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowActivated(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowActivated(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.
windowClosed(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowClosed(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowClosed(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.
windowClosing(WindowEvent) - Method in class objectdraw.AWTControllerFrame
quits the applet when the window is closed
windowClosing(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Closes the Frame and kills all running ActiveObjects so they don't remain alive behind the scenes.
windowClosing(WindowEvent) - Method in class objectdraw.FrameCanvas
Closes the Frame and kills all running ActiveObjects so they don't remain alive behind the scenes.
windowController - Variable in class objectdraw.AWTInitializer
The WindowController whose begin method is being called
WindowController - Class in objectdraw
WindowController is a Swing compatible class designed to be extended to produce programs that handle simple mouse events and draw graphics in a single window on the screen.
WindowController() - Constructor for class objectdraw.WindowController
 
WindowControllerListener - Class in objectdraw
Listener class designed to pass mouse events to simplified event handling methods associated with a WindowController.
WindowControllerListener(WindowController, DrawingCanvas) - Constructor for class objectdraw.WindowControllerListener
Create a listener that will forward mouse events to specialized WindowController event handling methods.
windowDeactivated(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowDeactivated(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowDeactivated(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.
windowDeiconified(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowDeiconified(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowDeiconified(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.
windowIconified(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowIconified(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowIconified(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.
windowOpened(WindowEvent) - Method in class objectdraw.AWTControllerFrame
Empty method included to implement the WindowListener interface.
windowOpened(WindowEvent) - Method in class objectdraw.AWTFrameCanvas
Empty method included to implement the WindowListener interface.
windowOpened(WindowEvent) - Method in class objectdraw.FrameCanvas
Empty method included to implement the WindowListener interface.

X

x - Variable in class objectdraw.Rectangular
The upper left corner of the rectangle.

Y

y - Variable in class objectdraw.Rectangular
The upper left corner of the rectangle.
yield() - Static method in class objectdraw.ActiveObject
Briefly suspend the execution of this ActiveObject code to see if any other ActiveObject or Thread is waiting to execute.

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