A C D E G H I J M P R S T U V W

A

AllMyDrawings - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A class with static methods for drawing various pictures
AllMyDrawings() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.AllMyDrawings
 
Animate04 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
 
Animate04() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.Animate04
 

C

Circle - Class in edu.ucsb.cs56.S11.jcoffman.lab08
Circle extends Ellipse2D to make it easier to draw circles because the parameters to the constructor are more convenient
Circle(double, double, double) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.Circle
Constructor for objects of class Circle
CoffeeCup - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A Coffee Cup (wrapper around a General Path, implements Shape) This provides an example of how you can start with the coordinates of a hard coded object, and end up with an object that can be drawn anywhere, with any width or height.
CoffeeCup(double, double, double, double) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.CoffeeCup
Constructor for objects of class CoffeeCup
contains(double, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
 
contains(double, double, double, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if the interior of the Shape entirely contains the specified rectangular area.
contains(Point2D) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if a specified Point2D is inside the boundary of the Shape.
contains(Rectangle2D) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if the interior of the Shape entirely contains the specified Rectangle2D.

D

drawHouse(Graphics2D, double, double, double, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent
 
drawPicture1(Graphics2D) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.AllMyDrawings
Draws 2 StickMan
drawPicture2(Graphics2D) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.AllMyDrawings
 
drawPicture3(Graphics2D) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.AllMyDrawings
 
drawPicture4(Graphics2D, int, int) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.AllMyDrawings
 
drawStickMan(Graphics2D, Circle, double, double, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent
Draws a stickman

E

edu.ucsb.cs56.S11.jcoffman.lab08 - package edu.ucsb.cs56.S11.jcoffman.lab08
 

G

GeneralPathWrapper - Class in edu.ucsb.cs56.S11.jcoffman.lab08
Because GeneralPath is declared as "final", we can't extend it.
GeneralPathWrapper() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
 
GeneralPathWrapper(GeneralPath) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
If we already have a GeneralPath, we can wrap it.
get() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if the specified coordinates are inside the boundary of the Shape.
getBounds() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Returns an integer Rectangle that completely encloses the Shape.
getBounds2D() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Returns a high precision and more accurate bounding box of the Shape than the getBounds method.
getImage() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.ItalianFlag
 
getImage() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.MoisesTank
 
getPathIterator(AffineTransform) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Returns an iterator object that iterates along the Shape boundary and provides access to the geometry of the Shape outline.
getPathIterator(AffineTransform, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Returns an iterator object that iterates along the Shape boundary and provides access to a flattened view of the Shape outline geometry.
go() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.JohnAnimation
go() runs the animation to move "dp" to the bottom right corner
go() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.SimpleAnimation
 
go2() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.JohnAnimation
go2() runs the return animation

H

horizontallyFlippedCopyOf(Shape) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to flip a shape horizontally
House - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A vector drawing of a house that implements the Shape interface, and so can be drawn, as well as rotated, scaled, etc.
House(double, double, double, double) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.House
Constructor
HouseWithWindows - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A House
HouseWithWindows(double, double, double, double) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.HouseWithWindows
Constructor for objects of class CoffeeCup

I

intersects(double, double, double, double) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if the interior of the Shape intersects the interior of a specified rectangular area.
intersects(Rectangle2D) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
Tests if the interior of the Shape intersects the interior of a specified Rectangle2D.
ItalianFlag - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A class for an ItalianFlag
ItalianFlag(int, int) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.ItalianFlag
 

J

JohnAnimation - Class in edu.ucsb.cs56.S11.jcoffman.lab08
JohnAnimation displays an electrical outlet by Leif Driezler when the curser is on top of the display the outlet will move towards the bottom right corner and when the mouse is removed the outlet will move towards the top left corner
JohnAnimation() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.JohnAnimation
Default Constructor

M

main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.Animate04
 
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.JohnAnimation
Main: calls the default constructor
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer
 
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer02
 
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer03
 
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.SimpleAnimation
 
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.SimpleGui1
main method to fire up a JFrame on the screen
main(String[]) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.WritePictureToFile
Write the Stick Man picture to a file.
MoisesTank - Class in edu.ucsb.cs56.S11.jcoffman.lab08
Draw an awesome looking tank
MoisesTank(int, int) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.MoisesTank
 

P

paintComponent(Graphics) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent
The paintComponent method is always required if you want any graphics to appear in your JComponent.
paintComponent(Graphics) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent02
The paintComponent method is always required if you want any graphics to appear in your JComponent.
paintComponent(Graphics) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent03
The paintComponent method is always required if you want any graphics to appear in your JComponent.
PictureComponent - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A component that draws a Picture by Phill Conrad
PictureComponent() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent
 
PictureComponent02 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A component that draws a Picture by Phill Conrad
PictureComponent02() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent02
 
PictureComponent03 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A component that draws a Picture by Phill Conrad
PictureComponent03() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureComponent03
 
PictureViewer - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A viewer class to see a picture I drew with just three simple Java graphics objects, namely Rectangle, Line2D.Double, Ellipse2D.Double
PictureViewer() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer
 
PictureViewer02 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A viewer class to see a picture I drew with just three simple Java graphics objects, namely Rectangle, Line2D.Double, Ellipse2D.Double
PictureViewer02() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer02
 
PictureViewer03 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A viewer class to see a picture I drew with just three simple Java graphics objects, namely Rectangle, Line2D.Double, Ellipse2D.Double
PictureViewer03() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.PictureViewer03
 

R

rotatedCopyOf(Shape, double) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to rotate a shape around its center

S

scaledCopyOf(Shape, double, double) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to scale a shape with respect to the upper left hand corner of its bounding box.
scaledCopyOfLL(Shape, double, double) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to scale a shape with respect to the lower left hand corner of its bounding box.
set(GeneralPath) - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.GeneralPathWrapper
 
setup() - Method in class edu.ucsb.cs56.S11.jcoffman.lab08.JohnAnimation
setup does NOTHING
ShapeTransforms - Class in edu.ucsb.cs56.S11.jcoffman.lab08
Some static methods for transforming objects that implement the java.awt.Shape interface
ShapeTransforms() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
 
SimpleAnimation - Class in edu.ucsb.cs56.S11.jcoffman.lab08
 
SimpleAnimation() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.SimpleAnimation
 
SimpleGui1 - Class in edu.ucsb.cs56.S11.jcoffman.lab08
SimpleGui1 comes from Head First Java 2nd Edition p.
SimpleGui1() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.SimpleGui1
 
StickMan - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A vector drawing of a stick man that implements the Shape interface, and so can be drawn, as well as rotated, scaled, etc.
StickMan(double, double, double) - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.StickMan
Constructor

T

translatedCopyOf(Shape, double, double) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to translate a shape

U

usage() - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.WritePictureToFile
 

V

verticallyFlippedCopyOf(Shape) - Static method in class edu.ucsb.cs56.S11.jcoffman.lab08.ShapeTransforms
A static method to flip a shape horizontally

W

WritePictureToFile - Class in edu.ucsb.cs56.S11.jcoffman.lab08
A class with a main method that can write a drawing to a graphics file.
WritePictureToFile() - Constructor for class edu.ucsb.cs56.S11.jcoffman.lab08.WritePictureToFile
 

A C D E G H I J M P R S T U V W