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

A

AbstractGraphic - Class in wheelsunh.etc
Abstract class implementing CustomGraphic interface.
AbstractGraphic() - Constructor for class wheelsunh.etc.AbstractGraphic
 
AbstractShape - Class in wheelsunh.users
AbstractShape: an abstract superclass for Shape and ShapeGroup.
AbstractShape() - Constructor for class wheelsunh.users.AbstractShape
Default constructor - does nothing but check that a Frame has been created! UNH addition: 11/14/09 rdb
actualPaint(Graphics2D) - Method in class wheelsunh.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 wheelsunh.users.InputBox
Normal users do not need to worry about this! Does the actual work to paint the text box.
actualPaint(Graphics2D) - Method in class wheelsunh.users.Line
 
actualPaint(Graphics2D) - Method in class wheelsunh.users.RectangularShape
Overrides actualPaint to paint a frame and fill with the specified colors.
actualPaint(Graphics2D) - Method in class wheelsunh.users.Shape
Subclasses must define this to do the actual painting of the shape.
actualPaint(Graphics2D) - Method in class wheelsunh.users.TextBox
Normal users do not need to worry about this! Does the actual work to paint the text box.
add(AbstractShape) - Method in class wheelsunh.users.ShapeGroup
Adds a shape to this group.
addElementColumn(Component) - Static method in class wheelsunh.users.Frame
Adds Component to column along right side and repacks.
addElementRow(Component) - Static method in class wheelsunh.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 wheelsunh.etc.DrawingPanel
Adds a graphic to the panel.
addImpl(Component, Object, int) - Method in class wheelsunh.etc.LayoutPanel
 
addKeyListener(KeyListener) - Method in class wheelsunh.users.Frame
Add KeyListener to _frame mb 7/23/2010
AdvancedColorable - Interface in wheelsunh
Interface for objects that can have frame color and fill color set and queried, as well as overall color.
alignCenter() - Method in class wheelsunh.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the center.
alignLeft() - Method in class wheelsunh.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the left.
alignRight() - Method in class wheelsunh.etc.LayoutPanel
Aligns all subsequent components added to the Panel to the right.
animate() - Method in interface wheelsunh.users.Animator
respond to the event.
AnimationTimer - Class in wheelsunh.users
AnimationTimer.java.
AnimationTimer(int, Animator) - Constructor for class wheelsunh.users.AnimationTimer
Constructor.
Animator - Interface in wheelsunh.users
Animator.

B

both(String) - Static method in class wheelsunh.users.Log
Log messages to System.out and file with name filename.
boundsIntersects(AbstractShape) - Method in class wheelsunh.users.AbstractShape
Intersect the bounds of this object with the argument.

C

center() - Method in class wheelsunh.users.AbstractShape
convenience method to get the center of Shape
Colorable - Interface in wheelsunh
Interface for objects that can have their color changed and queried.
console() - Static method in class wheelsunh.users.Log
Log messages to System.out only
contains(Point) - Method in interface wheelsunh.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 wheelsunh.users.Image
See if this Image contains the Point
contains(Point) - Method in class wheelsunh.users.Shape
Returns a boolean indicating whether or not the Shape contains the passed-in point.
contains(Point) - Method in class wheelsunh.users.ShapeGroup
returns true if p is contained within any shape in this group
ConversationBubble - Class in wheelsunh.users
Subclass of RoundedRectangle that will display a string, like conversation bubbles in cartoon.
ConversationBubble(String) - Constructor for class wheelsunh.users.ConversationBubble
Constructs a ConversationBubble in the wheelsunh.users.Frame's DrawingPanel.
ConversationBubble(String, int) - Constructor for class wheelsunh.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the wheelsunh.users.Frame's DrawingPanel.
ConversationBubble(String, DrawingPanel) - Constructor for class wheelsunh.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the passed-in DrawingPanel.
ConversationBubble(String, DrawingPanel, int) - Constructor for class wheelsunh.users.ConversationBubble
Constructs a ConversationBubble displaying the specified String in the passed-in DrawingPanel.
CustomGraphic - Interface in wheelsunh.etc
Interface for everything that is to be drawn on a DrawingPanel.

D

DEFAULT_BORDER_WIDTH - Static variable in class wheelsunh.users.ConversationBubble
 
DEFAULT_BORDER_WIDTH - Static variable in class wheelsunh.users.InputBox
 
DEFAULT_BORDER_WIDTH - Static variable in class wheelsunh.users.TextBox
 
DEFAULT_COLOR - Static variable in class wheelsunh.users.Shape
 
DEFAULT_LENGTH - Static variable in class wheelsunh.users.Line
 
DEFAULT_WIDTH - Static variable in class wheelsunh.users.ConversationBubble
 
DEFAULT_WIDTH - Static variable in class wheelsunh.users.InputBox
 
DEFAULT_WIDTH - Static variable in class wheelsunh.users.TextBox
 
distance(Point, Point) - Static method in class wheelsunh.users.AbstractShape
convenience static method to compute distance between 2 points
drag(MouseEvent) - Method in class wheelsunh.users.Image
Override to do something useful.
DrawingPanel - Class in wheelsunh.etc
Modified JPanel for easy drawing of custom graphics.
DrawingPanel() - Constructor for class wheelsunh.etc.DrawingPanel
Creates drawing panel with size 0x0.
DrawingPanel(int, int) - Constructor for class wheelsunh.etc.DrawingPanel
Creates drawing panel with the passed-in dimensions.
DrawingPanel(Dimension) - Constructor for class wheelsunh.etc.DrawingPanel
Creates drawing panel with the passed-in dimension.

E

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

F

file(String) - Static method in class wheelsunh.users.Log
Log messages to file with name filename only.
FilterInputBox - Class in wheelsunh.users
Subclass of InputBox that stores a String value
FilterInputBox() - Constructor for class wheelsunh.users.FilterInputBox
 
FilterInputBox(String) - Constructor for class wheelsunh.users.FilterInputBox
 
findShape(Point) - Method in class wheelsunh.etc.DrawingPanel
Finds the topmost graphic that contains the given point.
Frame - Class in wheelsunh.users
Frame that has public methods to allow for behind-the-scenes manipulation and GUI creation.
Frame() - Constructor for class wheelsunh.users.Frame
Default Frame is 700 x 500
Frame(int, int) - Constructor for class wheelsunh.users.Frame
Drawing panel size parameters added at UNH.

G

getActiveShape() - Method in class wheelsunh.etc.DrawingPanel
 
getAWTImage() - Method in class wheelsunh.users.Image
Get the AWT Image that we are using, not necessary for most users.
getBounds() - Method in class wheelsunh.users.AbstractShape
 
getBounds() - Method in class wheelsunh.users.ConversationBubble
Returns the bounds of the conversation bubble.
getBounds() - Method in class wheelsunh.users.Image
Get the rectangle that indicates the bounds of this Image
getBounds() - Method in class wheelsunh.users.InputBox
Returns the bounds of the text box.
getBounds() - Method in class wheelsunh.users.Line
Returns the bounding rectangle of the line.
getBounds() - Method in class wheelsunh.users.RectangularShape
Overrides the getBounds method of Shape to account for the shape's frame.
getBounds() - Method in class wheelsunh.users.Shape
Normal users do not need to worry about this! Returns a java.awt.Rectangle that bounds the shape.
getBounds() - Method in class wheelsunh.users.ShapeGroup
returns the bounding box of this group
getBounds() - Method in class wheelsunh.users.TextBox
Returns the bounds of the text box.
getCenter() - Method in class wheelsunh.users.AbstractShape
Returns the center of this Shape.
getCenterX() - Method in class wheelsunh.users.AbstractShape
Returns the X-coordinate of this Shape's center.
getCenterY() - Method in class wheelsunh.users.AbstractShape
Returns the Y-coordinate of this Shape's center.
getColor() - Method in interface wheelsunh.Colorable
Returns the object's color.
getColor() - Method in class wheelsunh.users.Shape
Returns the shape's color.
getFillColor() - Method in interface wheelsunh.AdvancedColorable
Returns the fill color.
getFillColor() - Method in class wheelsunh.users.RectangularShape
Returns the shape's fill color.
getFrameColor() - Method in interface wheelsunh.AdvancedColorable
Returns the frame color.
getFrameColor() - Method in class wheelsunh.users.RectangularShape
Returns the color of the shape's frame.
getFrameThickness() - Method in class wheelsunh.users.RectangularShape
Returns the thickness of the frame's stroke.
getHeight() - Method in interface wheelsunh.Sizeable
Returns the object's height.
getHeight() - Method in class wheelsunh.users.AbstractShape
 
getHeight() - Static method in class wheelsunh.users.Frame
getHeight() added at UNH by rdb 11/15/09
getHeight() - Method in class wheelsunh.users.Image
Returns the height of this Image.
getHeight() - Method in class wheelsunh.users.Line
Returns the Line's height.
getHeight() - Method in class wheelsunh.users.RectangularShape
Returns the shape's height.
getHeight() - Method in class wheelsunh.users.ShapeGroup
Returns the object's height
getIntersection(Point, double, AbstractShape) - Method in class wheelsunh.users.AbstractShape
getIntersection: get the intersection of the line starting at start with angle ( radians ) with the AbstractShape s Return the Point of intersection with the "wall" of the Frame if not found, or the point of intersection with the bounding box of s if found intersection() exploits this for shape-specific distances
getLocation() - Method in interface wheelsunh.Locatable
Returns the object's location.
getLocation() - Method in class wheelsunh.users.AbstractShape
 
getLocation() - Method in class wheelsunh.users.Image
Get the location of this Image
getLocation() - Method in class wheelsunh.users.Line
Returns the location of this Line's first point.
getLocation() - Method in class wheelsunh.users.RectangularShape
Returns the shape's location.
getLocation() - Method in class wheelsunh.users.Shape
Returns the object's location.
getLocation() - Method in class wheelsunh.users.ShapeGroup
Returns the object's location.
getP1() - Method in class wheelsunh.users.Line
Returns the first endpoint.
getP2() - Method in class wheelsunh.users.Line
Returns the second endpoint.
getRotation() - Method in interface wheelsunh.Rotatable
Returns the object's rotation in degrees.
getRotation() - Method in class wheelsunh.users.AbstractShape
 
getRotation() - Method in class wheelsunh.users.Image
Get the rotation for this Image
getRotation() - Method in class wheelsunh.users.Shape
Returns the Shape's current rotation in degrees.
getRotation() - Method in class wheelsunh.users.ShapeGroup
returns the current absolute degree of rotation of this group By Jake Mandel, for UNH CS
getShapes() - Method in class wheelsunh.users.ShapeGroup
Return a Set of all shapes in this group.
getSize() - Method in interface wheelsunh.Sizeable
Returns the object's size as an AWT Dimension.
getSize() - Method in class wheelsunh.users.Image
Get the dimensions of this Image
getSize() - Method in class wheelsunh.users.Line
Returns the Line's size as an AWT Dimension.
getSize() - Method in class wheelsunh.users.RectangularShape
Returns the shape's dimensions.
getThickness() - Method in class wheelsunh.users.Line
Returns the thickness of the stroke.
getValue() - Method in class wheelsunh.users.FilterInputBox
 
getValue() - Method in class wheelsunh.users.TextInputBox
 
getWidth() - Method in interface wheelsunh.Sizeable
Returns the object's width.
getWidth() - Method in class wheelsunh.users.AbstractShape
 
getWidth() - Static method in class wheelsunh.users.Frame
getWidth() added at UNH by rdb 11/15/09
getWidth() - Method in class wheelsunh.users.Image
Returns the width of the Image.
getWidth() - Method in class wheelsunh.users.Line
Returns the Line's width.
getWidth() - Method in class wheelsunh.users.RectangularShape
Returns the shape's width.
getWidth() - Method in class wheelsunh.users.ShapeGroup
Returns the object's width
getX1() - Method in class wheelsunh.users.Line
Return the x coordinate of the first endpoint.
getX2() - Method in class wheelsunh.users.Line
Return the x coordinate of the second endpoint.
getXLocation() - Method in interface wheelsunh.Locatable
Returns the object's x location.
getXLocation() - Method in class wheelsunh.users.AbstractShape
 
getXLocation() - Method in class wheelsunh.users.Image
Get the x value of the Image's location.
getXLocation() - Method in class wheelsunh.users.Line
Returns the x location of this Line's first point.
getXLocation() - Method in class wheelsunh.users.RectangularShape
Returns the x value of the shape's location.
getXLocation() - Method in class wheelsunh.users.Shape
Returns the object's x location.
getXLocation() - Method in class wheelsunh.users.ShapeGroup
Returns the object's x location.
getY1() - Method in class wheelsunh.users.Line
Returns the y coordinate of the first endpoint.
getY2() - Method in class wheelsunh.users.Line
Returns the y coordinate of the second endpoint.
getYLocation() - Method in interface wheelsunh.Locatable
Returns the object's y location.
getYLocation() - Method in class wheelsunh.users.AbstractShape
 
getYLocation() - Method in class wheelsunh.users.Image
Get the y value of the Image's location.
getYLocation() - Method in class wheelsunh.users.Line
Returns the location of this Line's first point.
getYLocation() - Method in class wheelsunh.users.RectangularShape
Returns the y value of the shape's location.
getYLocation() - Method in class wheelsunh.users.Shape
Returns the object's y location.
getYLocation() - Method in class wheelsunh.users.ShapeGroup
Returns the object's y location.

H

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

I

Image - Class in wheelsunh.users
A class that can display an image on a DrawingPanel.
Image(int, int) - Constructor for class wheelsunh.users.Image
Create an Image object of a give size, but no image yet.
Image(int, int, int) - Constructor for class wheelsunh.users.Image
Create an Image object of a give size and type but no image yet.
Image(String) - Constructor for class wheelsunh.users.Image
Create an image from the specified filename, in the wheelsunh.users.Frame's DrawingPanel.
Image(URL) - Constructor for class wheelsunh.users.Image
Create an image from the specified URL, in the wheelsunh.users.Frame's DrawingPanel.
Image(DrawingPanel, String) - Constructor for class wheelsunh.users.Image
Create an image from the specified filename, in the specified DrawingPanel.
Image(DrawingPanel, URL) - Constructor for class wheelsunh.users.Image
Create an image from a URL.
Image(Image) - Constructor for class wheelsunh.users.Image
Create a wheels image from awt Image A UNH wheels extension.
InputBox - Class in wheelsunh.users
Abstract subclass of Rectangle including an editable text box.
InputBox() - Constructor for class wheelsunh.users.InputBox
Constructs an empty InputBox in the wheelsunh.users.Frame's DrawingPanel.
InputBox(String) - Constructor for class wheelsunh.users.InputBox
Constructs an InputBox displaying the specified String in the wheelsunh.users.Frame's DrawingPanel.
InputBox(String, DrawingPanel) - Constructor for class wheelsunh.users.InputBox
Constructs an InputBox displaying the specified String in the passed-in DrawingPanel.
intersects(AbstractShape) - Method in class wheelsunh.users.AbstractShape
Generic AbstractShape handler Same as rectangle; exists for weird things that aren't the standard Shapes and for use in ShapeGroup's handler
intersects(ShapeGroup) - Method in class wheelsunh.users.AbstractShape
ShapeGroup intersection handler Calls intersects() for each AbstractShape in the group and returns the closest.
IntInputBox - Class in wheelsunh.users
Subclass of InputBox which only accepts integers
IntInputBox() - Constructor for class wheelsunh.users.IntInputBox
 

L

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

M

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

O

off() - Static method in class wheelsunh.users.Log
 
on() - Static method in class wheelsunh.users.Log
 

P

paint(Graphics2D) - Method in interface wheelsunh.etc.CustomGraphic
The real meat of the interface.
paint(Graphics2D) - Method in class wheelsunh.users.Image
Normal users need not use this!
paint(Graphics2D) - Method in class wheelsunh.users.Shape
This is the methid the DrawingPanel will call when the shape needs to display itself.
paint(Graphics2D) - Method in class wheelsunh.users.ShapeGroup
 
paintComponent(Graphics) - Method in class wheelsunh.etc.DrawingPanel
This should never be called directly!
paintGraphics(Graphics) - Method in class wheelsunh.etc.DrawingPanel
Normal user don't need to worry about this.
parse(String) - Method in class wheelsunh.users.FilterInputBox
 
parse(String) - Method in class wheelsunh.users.InputBox
This method is overridden in concrete implementations It controls what the input box does with strings entered into it
parse(String) - Method in class wheelsunh.users.IntInputBox
Parses input.
parse(String) - Method in class wheelsunh.users.TextInputBox
 
pause(String) - Static method in class wheelsunh.users.Log
Pause execution until the user hits return on the keyboard.
pause() - Static method in class wheelsunh.users.Log
Pause execution until the user hits return on the keyboard.
println(String) - Static method in class wheelsunh.users.Log
Print out message with method and line number information for this call.
println() - Static method in class wheelsunh.users.Log
Print out line number information for this call.

Q

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

R

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

S

setAWTImage(Image) - Method in class wheelsunh.users.Image
set the internal awt version of the image; UNH extension: On MacOSX, we get image objects of type apple.awt.OSXImage.
setBorderWidth(int) - Method in class wheelsunh.users.ConversationBubble
Changes the size of the border of whitespace between the text area and its frame.
setBorderWidth(int) - Method in class wheelsunh.users.InputBox
Changes the size of the border of whitespace between the text area and its frame.
setBorderWidth(int) - Method in class wheelsunh.users.TextBox
Changes the size of the border of whitespace between the text area and its frame.
setCenter(Point) - Method in class wheelsunh.users.AbstractShape
Moves this Shape so that its center is at p.
setColor(Color) - Method in interface wheelsunh.Colorable
Sets the object's color.
setColor(Color) - Method in class wheelsunh.users.ConversationBubble
Set the background and frame color of the ConversationBubble.
setColor(Color) - Method in class wheelsunh.users.InputBox
Set the background and frame color of the TextBox.
setColor(Color) - Method in class wheelsunh.users.RectangularShape
Overridden to set the color of the shape's frame and fill.
setColor(Color) - Method in class wheelsunh.users.Shape
Sets the color of the shape.
setColor(Color) - Method in class wheelsunh.users.TextBox
Set the background and frame color of the TextBox.
setFillColor(Color) - Method in interface wheelsunh.AdvancedColorable
Sets the fill color.
setFillColor(Color) - Method in class wheelsunh.users.ConversationBubble
Set the background color of the ConversationBubble.
setFillColor(Color) - Method in class wheelsunh.users.InputBox
Set the background color of the TextBox.
setFillColor(Color) - Method in class wheelsunh.users.RectangularShape
Sets the color of the shape's fill.
setFillColor(Color) - Method in class wheelsunh.users.TextBox
Set the background color of the TextBox.
setFilter(String) - Method in class wheelsunh.users.FilterInputBox
 
setFrameColor(Color) - Method in interface wheelsunh.AdvancedColorable
Sets the frame color.
setFrameColor(Color) - Method in class wheelsunh.users.RectangularShape
Sets the color of the shape's frame.
setFrameThickness(int) - Method in class wheelsunh.users.RectangularShape
Sets the thickness of the frame's stroke.
setHeight(int) - Static method in class wheelsunh.users.Frame
setHeight( int ) added at UNH
setLocation(int, int) - Method in interface wheelsunh.Locatable
Set object's location to given coordinates.
setLocation(Point) - Method in interface wheelsunh.Locatable
Set object's location to given point.
setLocation(int, int) - Method in class wheelsunh.users.AbstractShape
Set object's location to given coordinates.
setLocation(Point) - Method in class wheelsunh.users.AbstractShape
 
setLocation(Point) - Method in class wheelsunh.users.ConversationBubble
Sets the location of the ConversationBubble.
setLocation(Point) - Method in class wheelsunh.users.Image
Set the location of this Image
setLocation(int, int) - Method in class wheelsunh.users.Image
Set the location of the Image.
setLocation(Point) - Method in class wheelsunh.users.InputBox
Sets the location of the TextBox.
setLocation(int, int) - Method in class wheelsunh.users.Line
Sets the location of this line such that its bounding box is located at (x, y)
setLocation(Point) - Method in class wheelsunh.users.Line
Sets the location of this line such that its first point is located at the point p
setLocation(int, int) - Method in class wheelsunh.users.RectangularShape
Set the location of the upper-left corner of the shape's bounding box.
setLocation(Point) - Method in class wheelsunh.users.RectangularShape
Set the location of the upper-left corner of the shape's bounding box.
setLocation(int, int) - Method in class wheelsunh.users.Shape
Set object's location to given coordinates.
setLocation(Point) - Method in class wheelsunh.users.Shape
Set object's location to given point.
setLocation(Point) - Method in class wheelsunh.users.ShapeGroup
Set object's location to given point.
setLocation(Point) - Method in class wheelsunh.users.TextBox
Sets the location of the TextBox.
setP1(int, int) - Method in class wheelsunh.users.Line
Sets the coordinates of the first endpoint.
setP1(Point) - Method in class wheelsunh.users.Line
Set the first endpoint.
setP2(int, int) - Method in class wheelsunh.users.Line
Sets the coordinates of the second endpoint.
setP2(Point) - Method in class wheelsunh.users.Line
Set the second endpoint.
setPoints(int, int, int, int) - Method in class wheelsunh.users.Line
Sets the endpoints of the Line to the specified coordinates
setPoints(Point, Point) - Method in class wheelsunh.users.Line
Sets the endpoints of the Line to the specified values.
setRotation(int) - Method in interface wheelsunh.Rotatable
Sets the object's rotation in degrees.
setRotation(int) - Method in class wheelsunh.users.AbstractShape
 
setRotation(int) - Method in class wheelsunh.users.ConversationBubble
Overridden to do nothing.
setRotation(int) - Method in class wheelsunh.users.Image
Set the rotation for this Image
setRotation(int) - Method in class wheelsunh.users.InputBox
Overridden to do nothing.
setRotation(int) - Method in class wheelsunh.users.Shape
Set the rotation of the shape.
setRotation(int) - Method in class wheelsunh.users.ShapeGroup
sets the rotation angle of this ShapeGroup to (degrees) absolute This method handles repositioning the shapes, then rotates each of them separately.
setRotation(int) - Method in class wheelsunh.users.TextBox
Overridden to do nothing.
setSize(int, int) - Method in interface wheelsunh.Sizeable
Sets the object's size to the given dimensions.
setSize(Dimension) - Method in interface wheelsunh.Sizeable
Sets the object's size to the given Dimension.
setSize(Dimension) - Method in class wheelsunh.users.ConversationBubble
Sets the size of the ConversationBubble.
setSize(int, int) - Static method in class wheelsunh.users.Frame
setSize( int, iny ) added at UNH
setSize(Dimension) - Method in class wheelsunh.users.Image
Set the dimensions of this Image
setSize(int, int) - Method in class wheelsunh.users.Image
Set the dimensions of this Image
setSize(Dimension) - Method in class wheelsunh.users.InputBox
Sets the size of the TextBox.
setSize(int, int) - Method in class wheelsunh.users.Line
Sets the Line's size to the given dimensions.
setSize(Dimension) - Method in class wheelsunh.users.Line
Sets the Line's size to the given Dimension.
setSize(int, int) - Method in class wheelsunh.users.RectangularShape
Set the dimension of the shape.
setSize(Dimension) - Method in class wheelsunh.users.RectangularShape
Set the dimension of the shape.
setSize(Dimension) - Method in class wheelsunh.users.RoundedRectangle
Sets the shape's size.
setSize(Dimension) - Method in class wheelsunh.users.TextBox
Sets the size of the TextBox.
setTail(Point) - Method in class wheelsunh.users.ConversationBubble
Allows you to explicitly specify the point that the conversation bubble's "tail" extends from.
setTail(int, int) - Method in class wheelsunh.users.ConversationBubble
Allows you to explicitly specify the point that the conversation bubble's "tail" extends from.
setTailDirection(int) - Method in class wheelsunh.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 wheelsunh.users.ConversationBubble
Makes the bubble display the passed-in string.
setText(String) - Method in class wheelsunh.users.InputBox
Makes the bubble display the passed-in string.
setText(String) - Method in class wheelsunh.users.TextBox
Makes the bubble display the passed-in string.
setThickness(int) - Method in class wheelsunh.users.Line
Sets the thickness of the stroke used to paint the line.
setup(DrawingPanel) - Method in class wheelsunh.users.Image
Normal users need not use this!
setWidth(int) - Method in class wheelsunh.users.ConversationBubble
Sizes the ConversationBubble to the given width, but maintains full view of the contents by adjusting the height if necessary.
setWidth(int) - Static method in class wheelsunh.users.Frame
setWidth( int ) added at UNH
setWidth(int) - Method in class wheelsunh.users.InputBox
Sizes the TextBox to the given width, but maintains full view of the contents by adjusting the height if necessary.
setWidth(int) - Method in class wheelsunh.users.TextBox
Sizes the TextBox to the given width, but maintains full view of the contents by adjusting the height if necessary.
Shape - Class in wheelsunh.users
Generic superclass for all Wheels graphics.
Shape(Shape) - Constructor for class wheelsunh.users.Shape
Constructs a shape in the wheelsunh.users.Frame's DrawingPanel, with color DEFAULT_COLOR.
Shape(Shape, DrawingPanel) - Constructor for class wheelsunh.users.Shape
Constructs a Shape with the passed-in shape in the specified DrawingPanel.
ShapeGroup - Class in wheelsunh.users
A class representing a group of Shapes which can be moved as a single entity.
ShapeGroup() - Constructor for class wheelsunh.users.ShapeGroup
Constructor: defines xloc and yloc to be arbitrarily large; the first shape will set them appropriately.
show() - Method in class wheelsunh.users.ConversationBubble
Graphically shows the conversation bubble.
show() - Method in class wheelsunh.users.Image
Show the Image so it paints
show() - Method in class wheelsunh.users.InputBox
Graphically shows the text box.
show() - Method in class wheelsunh.users.Shape
Displays the shape graphically.
show() - Method in class wheelsunh.users.TextBox
Graphically shows the text box.
Sizeable - Interface in wheelsunh
Interface for objects that can have their size set and queried.
sleep(int) - Static method in class wheelsunh.users.Utilities
sleep for m milliseconds, ignore exceptions.

T

TAIL_DIR_LEFT - Static variable in class wheelsunh.users.ConversationBubble
 
TAIL_DIR_RIGHT - Static variable in class wheelsunh.users.ConversationBubble
 
TextBox - Class in wheelsunh.users
Subclass of Rectangle that includes text content.
TextBox(int, int) - Constructor for class wheelsunh.users.TextBox
Constructs an empty TextBox in the wheelsunh.users.Frame's DrawingPanel.
TextBox() - Constructor for class wheelsunh.users.TextBox
Constructs an empty TextBox in the wheelsunh.users.Frame's DrawingPanel.
TextBox(String) - Constructor for class wheelsunh.users.TextBox
Constructs an TextBox displaying the specified String in the wheelsunh.users.Frame's DrawingPanel.
TextBox(String, DrawingPanel) - Constructor for class wheelsunh.users.TextBox
Constructs an TextBox displaying the specified String in the passed-in DrawingPanel.
TextBoxLabel - Class in wheelsunh.users
 
TextBoxLabel(String, Shape) - Constructor for class wheelsunh.users.TextBoxLabel
 
TextInputBox - Class in wheelsunh.users
Subclass of InputBox that stores a String value
TextInputBox() - Constructor for class wheelsunh.users.TextInputBox
 
trace() - Static method in class wheelsunh.users.Log
Print a stack trace.

U

Utilities - Class in wheelsunh.users
Utilities.java.
Utilities() - Constructor for class wheelsunh.users.Utilities
 

W

wheelsunh - package wheelsunh
 
wheelsunh.etc - package wheelsunh.etc
 
wheelsunh.users - package wheelsunh.users
 

X

X_AXIS - Static variable in class wheelsunh.etc.LayoutPanel
 

Y

Y_AXIS - Static variable in class wheelsunh.etc.LayoutPanel
 

_

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

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