A C D E F G H I L M P Q R S T W X Y _

A

AbstractGraphic - class wheels.etc.AbstractGraphic.
Abstract class implementing CustomGraphic interface.
AbstractGraphic() - Constructor for class wheels.etc.AbstractGraphic
 
AdvancedColorable - interface wheels.AdvancedColorable.
Interface for objects that can have frame color and fill color set and queried, as well as overall color.
actualPaint(Graphics2D) - Method in class wheels.users.ConversationBubble
Normal users do not need to worry about this! Does the actual work to paint the conversation bubble.
actualPaint(Graphics2D) - Method in class wheels.users.Line
 
actualPaint(Graphics2D) - Method in class wheels.users.RectangularShape
Overrides actualPaint to paint a frame and fill with the specified colors.
actualPaint(Graphics2D) - Method in class wheels.users.Shape
Subclasses must define this to do the actual painting of the shape.
addElementColumn(Component) - Static method in class wheels.users.Frame
Adds Component to column along right side and repacks.
addElementRow(Component) - Static method in class wheels.users.Frame
Adds a Component to the row at the bottom of the frame and repacks the frame so that everything shows up all pretty.
addGraphic(CustomGraphic) - Method in class wheels.etc.DrawingPanel
Adds a graphic to the panel.
addImpl(Component, Object, int) - Method in class wheels.etc.LayoutPanel
 
alignCenter() - Method in class wheels.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the center.
alignLeft() - Method in class wheels.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the left.
alignRight() - Method in class wheels.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the right.

C

Colorable - interface wheels.Colorable.
Interface for objects that can have their color changed and queried.
ConversationBubble - class wheels.users.ConversationBubble.
Subclass of RoundedRectangle that will display a string, like conversation bubbles in cartoon.
ConversationBubble(String) - Constructor for class wheels.users.ConversationBubble
Constructs a ConversationBubble in the wheels.users.Frame's DrawingPanel.
ConversationBubble(String, int) - Constructor for class wheels.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the wheels.users.Frame's DrawingPanel.
ConversationBubble(String, DrawingPanel) - Constructor for class wheels.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the passed-in DrawingPanel.
ConversationBubble(String, DrawingPanel, int) - Constructor for class wheels.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the passed-in DrawingPanel.
CustomGraphic - interface wheels.etc.CustomGraphic.
Interface for everything that is to be drawn on a DrawingPanel.
contains(Point) - Method in interface wheels.etc.CustomGraphic
If you are going to deal with mouse input, this function must return true if the passed-in point is within the bounds of the graphic and false otherwise.
contains(Point) - Method in class wheels.users.Image
See if this Image contains the Point
contains(Point) - Method in class wheels.users.Shape
Returns a boolean indicating whether or not the Shape contains the passed-in point.

D

DEFAULT_BORDER_WIDTH - Static variable in class wheels.users.ConversationBubble
 
DEFAULT_COLOR - Static variable in class wheels.users.Shape
 
DEFAULT_LENGTH - Static variable in class wheels.users.Line
 
DEFAULT_WIDTH - Static variable in class wheels.users.ConversationBubble
 
DrawingPanel - class wheels.etc.DrawingPanel.
Modified JPanel for easy drawing of custom graphics.
DrawingPanel() - Constructor for class wheels.etc.DrawingPanel
Creates drawing panel with size 0x0.
DrawingPanel(int, int) - Constructor for class wheels.etc.DrawingPanel
Creates drawing panel with the passed-in dimensions.
DrawingPanel(Dimension) - Constructor for class wheels.etc.DrawingPanel
Creates drawing panel with the passed-in dimension.
drag(MouseEvent) - Method in class wheels.users.Image
Override to do something useful.

E

Ellipse - class wheels.users.Ellipse.
Draws an elliptical shape.
Ellipse() - Constructor for class wheels.users.Ellipse
Creates an ellipse with dimensions DEFAULT_WIDTH x DEFAULT_HEIGHT and color DEFAULT_COLOR, located in the center of the wheels.users.Frame's DrawingPanel.
Ellipse(Color) - Constructor for class wheels.users.Ellipse
Creates an ellipse with default dimension and location in the wheels.users.Frame's DrawingPanel, but with the specified color.
Ellipse(int, int) - Constructor for class wheels.users.Ellipse
Creates an ellipse with default dimension and color in the wheels.users.Frame's DrawingPanel, but at location (x, y).
Ellipse(int) - Constructor for class wheels.users.Ellipse
Creates an ellipse with default location, dimension, and color in the wheels.users.Frame's DrawingPanel, but at rotation degrees
Ellipse(DrawingPanel) - Constructor for class wheels.users.Ellipse
Creates an ellipse in the passed-in drawing panel.

F

Frame - class wheels.users.Frame.
Frame that has public methods to allow for behind-the-scenes manipulation and GUI creation.
Frame() - Constructor for class wheels.users.Frame
 
findShape(Point) - Method in class wheels.etc.DrawingPanel
Finds the topmost graphic that contains the given point.

G

getAWTImage() - Method in class wheels.users.Image
Get the AWT Image that we are using, not necessary for most users.
getBounds() - Method in class wheels.users.ConversationBubble
Returns the bounds of the conversation bubble.
getBounds() - Method in class wheels.users.Image
Get the rectangle that indicates the bounds of this Image
getBounds() - Method in class wheels.users.Line
Returns the bounding rectangle of the line.
getBounds() - Method in class wheels.users.RectangularShape
Overrides the getBounds method of Shape to account for the shape's frame.
getBounds() - Method in class wheels.users.Shape
Normal users do not need to worry about this! Returns a java.awt.Rectangle that bounds the shape.
getColor() - Method in interface wheels.Colorable
Returns the object's color.
getColor() - Method in class wheels.users.Shape
Returns the shape's color.
getFillColor() - Method in interface wheels.AdvancedColorable
Returns the fill color.
getFillColor() - Method in class wheels.users.RectangularShape
Returns the shape's fill color.
getFrameColor() - Method in interface wheels.AdvancedColorable
Returns the frame color.
getFrameColor() - Method in class wheels.users.RectangularShape
Returns the color of the shape's frame.
getFrameThickness() - Method in class wheels.users.RectangularShape
Returns the thickness of the frame's stroke.
getHeight() - Method in interface wheels.Sizeable
Returns the object's height.
getHeight() - Method in class wheels.users.Image
Returns the height of this Image.
getHeight() - Method in class wheels.users.RectangularShape
Returns the shape's height.
getLocation() - Method in interface wheels.Locatable
Returns the object's location.
getLocation() - Method in class wheels.users.Image
Get the location of this Image
getLocation() - Method in class wheels.users.RectangularShape
Returns the shape's location.
getP1() - Method in class wheels.users.Line
Returns the first endpoint.
getP2() - Method in class wheels.users.Line
Returns the second endpoint.
getRotation() - Method in interface wheels.Rotatable
Returns the object's rotation in degrees.
getRotation() - Method in class wheels.users.Image
Get the rotation for this Image
getRotation() - Method in class wheels.users.Shape
Returns the Shape's current rotation in degrees.
getSize() - Method in interface wheels.Sizeable
Returns the object's size as an AWT Dimension.
getSize() - Method in class wheels.users.Image
Get the dimensions of this Image
getSize() - Method in class wheels.users.RectangularShape
Returns the shape's dimensions.
getThickness() - Method in class wheels.users.Line
Returns the thickness of the stroke.
getWidth() - Method in interface wheels.Sizeable
Returns the object's width.
getWidth() - Method in class wheels.users.Image
Returns the width of the Image.
getWidth() - Method in class wheels.users.RectangularShape
Returns the shape's width.
getX1() - Method in class wheels.users.Line
Return the x coordinate of the first endpoint.
getX2() - Method in class wheels.users.Line
Return the x coordinate of the second endpoint.
getXLocation() - Method in interface wheels.Locatable
Returns the object's x location.
getXLocation() - Method in class wheels.users.Image
Get the x value of the Image's location.
getXLocation() - Method in class wheels.users.RectangularShape
Returns the x value of the shape's location.
getY1() - Method in class wheels.users.Line
Returns the y coordinate of the first endpoint.
getY2() - Method in class wheels.users.Line
Returns the y coordinate of the second endpoint.
getYLocation() - Method in interface wheels.Locatable
Returns the object's y location.
getYLocation() - Method in class wheels.users.Image
Get the y value of the Image's location.
getYLocation() - Method in class wheels.users.RectangularShape
Returns the y value of the shape's location.

H

hide() - Method in class wheels.users.ConversationBubble
Graphically hides the conversation bubble.
hide() - Method in class wheels.users.Image
Hide the Image so it won't paint
hide() - Method in class wheels.users.Shape
Hides the shape graphically.

I

Image - class wheels.users.Image.
A class that can display an image on a DrawingPanel.
Image(String) - Constructor for class wheels.users.Image
Create an image from the specified filename, in the wheels.users.Frame's DrawingPanel.
Image(URL) - Constructor for class wheels.users.Image
Create an image from the specified URL, in the wheels.users.Frame's DrawingPanel.
Image(DrawingPanel, String) - Constructor for class wheels.users.Image
Create an image from the specified filename, in the specified DrawingPanel.
Image(DrawingPanel, URL) - Constructor for class wheels.users.Image
Create an image from a URL.

L

LayoutPanel - class wheels.etc.LayoutPanel.
Panel that allows for the horizontal or vertical arrangement of components.
LayoutPanel() - Constructor for class wheels.etc.LayoutPanel
Constructs an empty layout panel with horizontal orientation.
LayoutPanel(int) - Constructor for class wheels.etc.LayoutPanel
Constructs an empty layout panel with the specified orientation.
Line - class wheels.users.Line.
Class that models a 2D line.
Line() - Constructor for class wheels.users.Line
Creates a Line with default endpoints in the wheels.users.Frame's DrawingPanel.
Line(int, int, int, int) - Constructor for class wheels.users.Line
Creates a Line with the specified coordinates in the wheels.users.Frame's DrawingPanel.
Line(Point, Point) - Constructor for class wheels.users.Line
Creates a Line with the specified endpoints in the wheels.users.Frame's DrawingPanel.
Line(DrawingPanel) - Constructor for class wheels.users.Line
Creates a Line with endpoints (0, 0) and (0, 0) in the specified DrawingPanel.
Line(DrawingPanel, int, int, int, int) - Constructor for class wheels.users.Line
Creates a Line with the specified endpoint coordinates in the specified DrawingPanel.
Line(DrawingPanel, Point, Point) - Constructor for class wheels.users.Line
Creates a Line with the specified endpoints in the specified DrawingPanel.
Locatable - interface wheels.Locatable.
Interface for objects that can have their location set and queried.

M

mouseClicked(MouseEvent) - Method in class wheels.etc.AbstractGraphic
Called when mouse is clicked over the graphic.
mouseClicked(MouseEvent) - Method in interface wheels.etc.CustomGraphic
Called when mouse is clicked over the graphic.
mouseClicked(MouseEvent) - Method in class wheels.users.Image
Called when the Panel detects that the mouse was clicked.
mouseDragged(MouseEvent) - Method in class wheels.etc.AbstractGraphic
Called when mouse button is pressed and dragged over graphic.
mouseDragged(MouseEvent) - Method in interface wheels.etc.CustomGraphic
Called when mouse button is pressed and dragged over graphic.
mouseDragged(MouseEvent) - Method in class wheels.users.Image
Called when the Panel detects that the mouse was dragged.
mousePressed(MouseEvent) - Method in class wheels.etc.AbstractGraphic
Called when a mouse button is pressed over the graphic.
mousePressed(MouseEvent) - Method in interface wheels.etc.CustomGraphic
Called when a mouse button is pressed over the graphic.
mousePressed(MouseEvent) - Method in class wheels.users.Image
Called when the Panel detects that the mouse was pressed.
mouseReleased(MouseEvent) - Method in class wheels.etc.AbstractGraphic
Called when a mouse button is released over the graphic.
mouseReleased(MouseEvent) - Method in interface wheels.etc.CustomGraphic
Called when a mouse button is released over the graphic.
mouseReleased(MouseEvent) - Method in class wheels.users.Image
Called when the Panel detects that the mouse was released.

P

paint(Graphics2D) - Method in interface wheels.etc.CustomGraphic
The real meat of the interface.
paint(Graphics2D) - Method in class wheels.users.Image
Normal users need not use this!
paint(Graphics2D) - Method in class wheels.users.Shape
This is the methid the DrawingPanel will call when the shape needs to display itself.
paintComponent(Graphics) - Method in class wheels.etc.DrawingPanel
This should never be called directly!
paintGraphics(Graphics) - Method in class wheels.etc.DrawingPanel
Normal user don't need to worry about this.

Q

QuitButton - class wheels.etc.QuitButton.
A push button that will quit the program.
QuitButton() - Constructor for class wheels.etc.QuitButton
Constructs a QuitButton.

R

Rectangle - class wheels.users.Rectangle.
Subclass of RectangularShape that draws a rectangle.
Rectangle() - Constructor for class wheels.users.Rectangle
Creates a rectangle with dimensions DEFAULT_WIDTH x DEFAULT_HEIGHT and color DEFAULT_COLOR, located in the center of the wheels.users.Frame's DrawingPanel.
Rectangle(Color) - Constructor for class wheels.users.Rectangle
Creates a rectangle with default dimension and location in the wheels.users.Frame's DrawingPanel, but with the specified color.
Rectangle(int, int) - Constructor for class wheels.users.Rectangle
Creates a rectangle with default dimension and color in the wheels.users.Frame's DrawingPanel, but at location (x, y).
Rectangle(int) - Constructor for class wheels.users.Rectangle
Creates a rectangle with default location, dimension, and color in the wheels.users.Frame's DrawingPanel, but at rotation degrees
Rectangle(DrawingPanel) - Constructor for class wheels.users.Rectangle
Creates a rectangle in the passed-in drawing panel.
RectangularShape - class wheels.users.RectangularShape.
Superclass for all Shapes that can be described in terms of rectangular dimensions (ellipse, rectangle, etc.).
RectangularShape(RectangularShape) - Constructor for class wheels.users.RectangularShape
The default constructor will draw the shape in the center of the wheels.users.Frame's DrawingPanel, with dimension DEFAULT_WIDTH x DEFAULT_HEIGHT and color DEFAULT_COLOR.
RectangularShape(RectangularShape, Color) - Constructor for class wheels.users.RectangularShape
Draws new shape in the wheels.users.Frame's DrawingPanel with default dimensions and location, and color set to the passed-in color.
RectangularShape(RectangularShape, int, int) - Constructor for class wheels.users.RectangularShape
Draws new shape in the wheels.users.Frame's DrawingPanel with default color and location, and location set to the passed-in values.
RectangularShape(RectangularShape, int) - Constructor for class wheels.users.RectangularShape
Draws new shape with default location, color, and dimension in the wheels.users.DrawingPanel, at a rotation of degrees.
RectangularShape(RectangularShape, DrawingPanel) - Constructor for class wheels.users.RectangularShape
Constructs a rectagular shape with the passed-in properties.
Rotatable - interface wheels.Rotatable.
Interface for objects that can have their rotation set and queried.
RoundedRectangle - class wheels.users.RoundedRectangle.
Subclass of RectangularShape that draws a rectangle with rounded corners.
RoundedRectangle() - Constructor for class wheels.users.RoundedRectangle
Creates a shape with dimensions DEFAULT_WIDTH x DEFAULT_HEIGHT and color DEFAULT_COLOR, located in the center of the wheels.users.Frame's DrawingPanel.
RoundedRectangle(Color) - Constructor for class wheels.users.RoundedRectangle
Creates a shape with default dimension and location in the wheels.users.Frame's DrawingPanel, but with the specified color.
RoundedRectangle(int, int) - Constructor for class wheels.users.RoundedRectangle
Creates a shape with default dimension and color in the wheels.users.Frame's DrawingPanel, but at location (x, y).
RoundedRectangle(int) - Constructor for class wheels.users.RoundedRectangle
Creates a shape with default location, dimension, and color in the wheels.users.Frame's DrawingPanel, but at rotation degrees
RoundedRectangle(DrawingPanel) - Constructor for class wheels.users.RoundedRectangle
Creates a shape in the passed-in drawing panel.
removeGraphic(CustomGraphic) - Method in class wheels.etc.DrawingPanel
Removes the passed-in graphic from the panel.

S

Shape - class wheels.users.Shape.
Generic superclass for all Wheels graphics.
Shape(Shape) - Constructor for class wheels.users.Shape
Constructs a shape in the wheels.users.Frame's DrawingPanel, with color DEFAULT_COLOR.
Shape(Shape, DrawingPanel) - Constructor for class wheels.users.Shape
Constructs a Shape with the passed-in shape in the specified DrawingPanel.
Sizeable - interface wheels.Sizeable.
Interface for objects that can have their size set and queried.
setBorderWidth(int) - Method in class wheels.users.ConversationBubble
Changes the size of the border of whitespace between the text area and its frame.
setColor(Color) - Method in interface wheels.Colorable
Sets the object's color.
setColor(Color) - Method in class wheels.users.ConversationBubble
Set the background and frame color of the ConversationBubble.
setColor(Color) - Method in class wheels.users.RectangularShape
Overridden to set the color of the shape's frame and fill.
setColor(Color) - Method in class wheels.users.Shape
Sets the color of the shape.
setFillColor(Color) - Method in interface wheels.AdvancedColorable
Sets the fill color.
setFillColor(Color) - Method in class wheels.users.ConversationBubble
Set the background color of the ConversationBubble.
setFillColor(Color) - Method in class wheels.users.RectangularShape
Sets the color of the shape's fill.
setFrameColor(Color) - Method in interface wheels.AdvancedColorable
Sets the frame color.
setFrameColor(Color) - Method in class wheels.users.RectangularShape
Sets the color of the shape's frame.
setFrameThickness(int) - Method in class wheels.users.RectangularShape
Sets the thickness of the frame's stroke.
setLocation(int, int) - Method in interface wheels.Locatable
Set object's location to given coordinates.
setLocation(Point) - Method in interface wheels.Locatable
Set object's location to given point.
setLocation(Point) - Method in class wheels.users.ConversationBubble
Sets the location of the ConversationBubble.
setLocation(Point) - Method in class wheels.users.Image
Set the location of this Image
setLocation(int, int) - Method in class wheels.users.Image
Set the location of the Image.
setLocation(int, int) - Method in class wheels.users.RectangularShape
Set the location of the upper-left corner of the shape's bounding box.
setLocation(Point) - Method in class wheels.users.RectangularShape
Set the location of the upper-left corner of the shape's bounding box.
setP1(int, int) - Method in class wheels.users.Line
Sets the coordinates of the first endpoint.
setP1(Point) - Method in class wheels.users.Line
Set the first endpoint.
setP2(int, int) - Method in class wheels.users.Line
Sets the coordinates of the second endpoint.
setP2(Point) - Method in class wheels.users.Line
Set the second endpoint.
setPoints(int, int, int, int) - Method in class wheels.users.Line
Sets the endpoints of the Line to the specified coordinates
setPoints(Point, Point) - Method in class wheels.users.Line
Sets the endpoints of the Line to the specified values.
setRotation(int) - Method in interface wheels.Rotatable
Sets the object's rotation in degrees.
setRotation(int) - Method in class wheels.users.ConversationBubble
Overridden to do nothing.
setRotation(int) - Method in class wheels.users.Image
Set the rotation for this Image
setRotation(int) - Method in class wheels.users.Shape
Set the rotation of the shape.
setSize(int, int) - Method in interface wheels.Sizeable
Sets the object's size to the given dimensions.
setSize(Dimension) - Method in interface wheels.Sizeable
Sets the object's size to the given Dimension.
setSize(Dimension) - Method in class wheels.users.ConversationBubble
Sets the size of the ConversationBubble.
setSize(Dimension) - Method in class wheels.users.Image
Set the dimensions of this Image
setSize(int, int) - Method in class wheels.users.Image
Set the dimensions of this Image
setSize(int, int) - Method in class wheels.users.RectangularShape
Set the dimension of the shape.
setSize(Dimension) - Method in class wheels.users.RectangularShape
Set the dimension of the shape.
setSize(Dimension) - Method in class wheels.users.RoundedRectangle
Sets the shape's size.
setTail(Point) - Method in class wheels.users.ConversationBubble
Allows you to explicitly specify the point that the conversation bubble's "tail" extends from.
setTail(int, int) - Method in class wheels.users.ConversationBubble
Allows you to explicitly specify the point that the conversation bubble's "tail" extends from.
setTailDirection(int) - Method in class wheels.users.ConversationBubble
Allows you to specify the direction in which the ConversationBubble's "tail"--the line that indicates the source of the conversation bubble.
setText(String) - Method in class wheels.users.ConversationBubble
Makes the bubble display the passed-in string.
setThickness(int) - Method in class wheels.users.Line
Sets the thickness of the stroke used to paint the line.
setWidth(int) - Method in class wheels.users.ConversationBubble
Sizes the ConversationBubble to the given width, but maintains full view of the contents by adjusting the height if necessary.
setup(DrawingPanel) - Method in class wheels.users.Image
Normal users need not use this!
show() - Method in class wheels.users.ConversationBubble
Graphically shows the conversation bubble.
show() - Method in class wheels.users.Image
Show the Image so it paints
show() - Method in class wheels.users.Shape
Displays the shape graphically.

T

TAIL_DIR_LEFT - Static variable in class wheels.users.ConversationBubble
 
TAIL_DIR_RIGHT - Static variable in class wheels.users.ConversationBubble
 

W

wheels - package wheels
 
wheels.etc - package wheels.etc
 
wheels.users - package wheels.users
 

X

X_AXIS - Static variable in class wheels.etc.LayoutPanel
 

Y

Y_AXIS - Static variable in class wheels.etc.LayoutPanel
 

_

_dp - Static variable in class wheels.users.Frame
 
_dp - Variable in class wheels.users.Shape
The wheels.etc.DrawingPanel in which the shape will be drawn.
_graphics - Variable in class wheels.etc.DrawingPanel
Storage for all the graphics drawn on the panel
_shape - Variable in class wheels.users.Shape
The java.awt.Shape that defines the look of the shape

A C D E F G H I L M P Q R S T W X Y _