A B D G I M N P R S T V W

M

Main - Class in ballWorlds.framework
A BallWorlds application is a Swing application that simulates "worlds" that contain instances of various kinds of "balls" (and possibly other objects).
Main() - Constructor for class ballWorlds.framework.Main
 
main(String[]) - Static method in class ballWorlds.framework.Main
The BallWorlds application starts here in main.
middleOfWorld() - Method in class ballWorlds.framework.VisibleWorld
Returns a new Point2D that is at the middle of this World.
middleOfWorld() - Method in interface ballWorlds.WorldDescriber
Returns a Point2D that is at the middle of this World.
Morphable - Interface in ballWorlds
A Morphable is an object that can be "morphed" in various ways: for example, changing its position, velocity, mass, size, Shape or World.
mouseClicked(MouseEvent) - Method in class ballWorlds.framework.WorldView
Toggles the nearest Ball between the paused and not-paused state.
mouseDragged(MouseEvent) - Method in class ballWorlds.framework.WorldView
For the selected Ball (if any), moves the Ball to the current mouse point.
mouseEntered(MouseEvent) - Method in class ballWorlds.framework.WorldView
Does nothing.
mouseExited(MouseEvent) - Method in class ballWorlds.framework.WorldView
Does nothing.
mouseMoved(MouseEvent) - Method in class ballWorlds.framework.WorldView
Does nothing.
mousePressed(MouseEvent) - Method in class ballWorlds.framework.WorldView
Sets the selected Ball to the Ball nearest the mouse point.
mouseReleased(MouseEvent) - Method in class ballWorlds.framework.WorldView
Sets the selected Ball to null (i.e., no Ball is selected).
moveTo(Point2D) - Method in interface ballWorlds.Morphable
Moves this Morphable object to the given Point2D, by setting the Morphable's position (part of its Shape) to the given Point2D.
moveTo(World) - Method in interface ballWorlds.Morphable
Moves this Morphable object from its current World to the given World, but maintaining the same position (point) at which the Morphable currently lives.
moveTo(Point2D, World) - Method in interface ballWorlds.Morphable
Moves this Morphable object to the given Point2D in the given World.
multiplySize(double) - Method in interface ballWorlds.Morphable
Multiplies this Morphable object's size by the given multiplier, thus either shrinking (multiplier < 1) or expanding (multiplier > 1) this Morphable object's size.

A B D G I M N P R S T V W