Index
All Classes and Interfaces|All Packages
A
- add(int, int) - Method in class com.gigamonkeys.bhs.ReferenceClass
- add(int, int) - Method in class com.gigamonkeys.bhs.TestClass
C
- Canvas - Class in com.gigamonkeys.bhs
- Canvas(double, double) - Constructor for class com.gigamonkeys.bhs.Canvas
- CanvasRunner - Class in com.gigamonkeys.bhs
- CanvasRunner() - Constructor for class com.gigamonkeys.bhs.CanvasRunner
- code() - Method in class com.gigamonkeys.bhs.Canvas
- com.gigamonkeys.bhs - package com.gigamonkeys.bhs
- com.gigamonkeys.bhs.shapes - package com.gigamonkeys.bhs.shapes
D
- draw() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Draws the outline of the square using its current properties.
- draw(Canvas) - Method in interface com.gigamonkeys.bhs.Picture
-
Draw a picture on the given Canvas.
- draw(Graphics, int, int) - Method in interface com.gigamonkeys.bhs.ImageGenerator
-
Draw a picture on the given Graphics object.
- draw(Graphics, int, int) - Method in class com.gigamonkeys.bhs.TestImageGenerator
- drawCircle(double, double, double, String, double) - Method in class com.gigamonkeys.bhs.Canvas
-
Draws a circle centered at x,y with radius r using the given color and the given lineWidth.
- drawFilledCircle(double, double, double, String) - Method in class com.gigamonkeys.bhs.Canvas
-
Draws a filled circle centered at x,y with radius r using the given color.
- drawFilledRect(double, double, double, double, String) - Method in class com.gigamonkeys.bhs.Canvas
-
Draws a filled rectangle starting at x,y with the given width, height, and color.
- drawLine(double, double, double, double, String, double) - Method in class com.gigamonkeys.bhs.Canvas
-
Draws a line from x1,y1 to x2,y2 using the give color and the given line width.
- drawRect(double, double, double, double, String, double) - Method in class com.gigamonkeys.bhs.Canvas
-
Draws a rectangle starting at x,y with the given width, height, color, and lineWidth.
E
- embiggen(double) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Increases the size of the square by a percentage of its current size, keeping its top-left corner in the same position.
- embiggenFromCenter(double) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Increases the size of the square by a percentage of its current size, keeping its center in the same position.
F
- fill() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Fills the square using its current properties.
G
- getColor() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Returns the color of the square.
- getRotation() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Returns the rotation angle of the square in radians.
- getSize() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Returns the lenth of the side of the square.
- getX() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Returns the x-coordinate of the top-left corner of the square.
- getY() - Method in class com.gigamonkeys.bhs.shapes.Square
-
Returns the y-coordinate of the top-left corner of the square.
H
I
- ImageGenerator - Interface in com.gigamonkeys.bhs
- ImageRunner - Class in com.gigamonkeys.bhs
- ImageRunner() - Constructor for class com.gigamonkeys.bhs.ImageRunner
M
- main(String[]) - Static method in class com.gigamonkeys.bhs.CanvasRunner
- main(String[]) - Static method in class com.gigamonkeys.bhs.ImageRunner
- main(String[]) - Static method in class com.gigamonkeys.bhs.TestRunner
- move(int, int) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Moves the square by the specified deltas along the x and y axes.
- moveTo(int, int) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Sets the position of the square to the specified coordinates.
- multiply(int, int) - Method in class com.gigamonkeys.bhs.ReferenceClass
O
- outputResults() - Method in class com.gigamonkeys.bhs.TestRunner
P
- Picture - Interface in com.gigamonkeys.bhs
R
- ReferenceClass - Class in com.gigamonkeys.bhs
- ReferenceClass() - Constructor for class com.gigamonkeys.bhs.ReferenceClass
- results() - Method in class com.gigamonkeys.bhs.TestRunner
- resultsAsJson() - Method in class com.gigamonkeys.bhs.TestRunner
- rotate(double) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Rotates the square by the specified radians around its center.
S
- setColor(Color) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Sets the color of the square to the specified value.
- shrink(double) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Shrinks the size of the square by a percentage of its current size, keeping its top-left corner in the same position.
- shrinkToCenter(double) - Method in class com.gigamonkeys.bhs.shapes.Square
-
Shrinks the size of the square by a percentage of its current size, keeping its center in the same position.
- Square - Class in com.gigamonkeys.bhs.shapes
-
Simple square shape to be drawn on an image via a java.awt.Graphics object.
- Square(Graphics, int, int, int) - Constructor for class com.gigamonkeys.bhs.shapes.Square
-
Constructs a new Square with the specified graphics context, position, size, and a default color of black.
- Square(Graphics, int, int, int, Color) - Constructor for class com.gigamonkeys.bhs.shapes.Square
-
Constructs a new Square with the specified graphics context, position, size, and color.
- subtract(int, int) - Method in class com.gigamonkeys.bhs.ReferenceClass
- subtract(int, int) - Method in class com.gigamonkeys.bhs.TestClass
T
- testables() - Method in class com.gigamonkeys.bhs.TestRunner
- TestClass - Class in com.gigamonkeys.bhs
- TestClass() - Constructor for class com.gigamonkeys.bhs.TestClass
- TestImageGenerator - Class in com.gigamonkeys.bhs
- TestImageGenerator() - Constructor for class com.gigamonkeys.bhs.TestImageGenerator
- testMethod(Method) - Method in class com.gigamonkeys.bhs.TestRunner
- TestRunner - Class in com.gigamonkeys.bhs
- TestRunner(String, String, String) - Constructor for class com.gigamonkeys.bhs.TestRunner
W
A C D E F G H I M O P R S T WAll Classes and Interfaces|All Packages