A B C D E F G H I J K L M N O P R S T U V W Y
O
- ObjectDrawObject - Class in coffeedraw
-
Deprecated.for internal use only ObjectDrawObject is the superclass of everything that appears on the screen, as well as Location. Its only job is to track when changes are made to an object and notify any other objects that use that one that they need to change.
- ObjectDrawObject() - Constructor for class coffeedraw.ObjectDrawObject
-
Deprecated.
- ObjectDrawPolygon - Class in coffeedraw
- ObjectDrawPolygon(int, double, double, double, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawPolygon
- ObjectDrawPolygon(int, double, double, double, double, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawPolygon
- ObjectDrawPolygon(Location[], double, double, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawPolygon
- ObjectDrawRectangularShape - Class in coffeedraw
-
Deprecated.for internal use only ObjectDrawRectangularShape is the superclass of all the rectangle, arc, oval, and rounded rect shapes. It is responsible for maintaining the information on the width and height of the shape, and ensuring that width and height are never negative. So, subclasses need only write a constructor that passes along the appropriate information to super(), a makeShape() method, and code to deal with other information specific to them, such as arc angles and stroke.
- ObjectDrawRectangularShape(double, double, double, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawRectangularShape
-
Deprecated.
- ObjectDrawRectangularShape(double, double, double, double, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawRectangularShape
-
Deprecated.
- ObjectDrawShape - Class in coffeedraw
-
Deprecated.for internal use only ObjectDrawShape is the superclass of all shapes that appear on the screen, and implements the DrawableInterface. It takes care of color, draw order, and drawing the shapes, so that all that a subclass needs to do is to implement a method to return its shape. This class also takes care of invalidating the stored shape when a change is made to the object and requesting the generation of a new shape.
- ObjectDrawShape(Location, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawShape
-
Deprecated.
- ObjectDrawShape(Location, double, boolean, Color, DrawingCanvas) - Constructor for class coffeedraw.ObjectDrawShape
-
Deprecated.
- offset(double, double) - Method in class coffeedraw.Location
-
Create a new
Locationthat is offset from this one by the given amount. - onMouseClick(Location) - Method in class coffeedraw.WindowController
-
This method is called when the user clicks on the canvas - that is, presses and releases the mouse without dragging it in between.
- onMouseDrag(Location) - Method in class coffeedraw.WindowController
-
This method is called as the user is dragging the mouse across the canvas - that is, moving the mouse with the button held down.
- onMouseEnter(Location) - Method in class coffeedraw.WindowController
-
This method is called when the mouse enters the canvas.
- onMouseExit(Location) - Method in class coffeedraw.WindowController
-
This method is called when the mouse leaves the canvas.
- onMouseMove(Location) - Method in class coffeedraw.WindowController
-
This method is called as the user is moving the mouse across the canvas without the mouse button held down.
- onMousePress(Location) - Method in class coffeedraw.WindowController
-
This method is called when the mouse button is pressed.
- onMouseRelease(Location) - Method in class coffeedraw.WindowController
-
This method is called when the mouse button is released.
- openHostDialog() - Static method in class coffeedraw.Network
-
This is a way for your program to automatically open the "Host network game" dialog, for those who are too cool to use the menus.
- openJoinDialog() - Static method in class coffeedraw.Network
-
This is a way for your program to automatically open the "Join network game" dialog, for those who are too cool to use the menus.
- overlaps(Drawable2DInterface) - Method in interface coffeedraw.Drawable2DInterface
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FilledArc
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FilledOval
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FilledPolygon
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FilledRect
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FilledRoundedRect
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FramedArc
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FramedOval
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FramedPolygon
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FramedRect
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.FramedRoundedRect
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.ObjectDrawPolygon
- overlaps(Drawable2DInterface) - Method in class coffeedraw.ObjectDrawRectangularShape
-
Deprecated.
- overlaps(Drawable2DInterface) - Method in class coffeedraw.Text
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise. - overlaps(Drawable2DInterface) - Method in class coffeedraw.VisibleImage
-
Return
trueif the rectangle bounding this object overlaps with the rectangle bounding another object;falseotherwise.