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

G

getAccuracy() - Method in class simulation.gui.SimulationMenu
Returns an int that corresponds to the accuracy of the simulation.
getActiveTool() - Method in class simulation.gui.SimulationView
Returns the number that corresponds to the active tool.
getAngularVelocity() - Method in class simulation.engine.Body
Returns the angular velocity of the object in radians / time unit.
getBodies() - Method in class simulation.engine.Simulation
Get the bodies as an array.
getBody() - Method in class simulation.engine.BodySetEvent
Returns the body that was either removed or added to cause this event.
getBody(int) - Method in class simulation.engine.Simulation
Get the body at a certain index.
getBody() - Method in class simulation.gui.ShapeNode
Returns the Body that this node represents.
getBody() - Method in class simulation.gui.ShapeView
Returns the body that this view is showing.
getBodyCount() - Method in class simulation.engine.Simulation
Returns the number of bodies this simulation currently has.
getBodySetListeners() - Method in class simulation.engine.Simulation
Returns an array of all the BodySetListeners currently registered to this Simulation.
getBounciness() - Method in class simulation.engine.Body
Returns the bounciness of this body.
getCameraListeners() - Method in class simulation.gui.SimulationView
Returns an array of all the CameraListeners registered to this view.
getChangeListeners() - Method in class simulation.engine.Body
Returns an array of all the ChangeListeners registered to this body.
getColor() - Method in class simulation.engine.Body
Returns the color of this shape.
getColor() - Method in class simulation.gui.ColorButton
Returns the color of the button.
getColorName() - Method in class simulation.gui.ColorButton
 
getColorName(Color) - Static method in class simulation.gui.ColorButton
 
getDefaultBounciness() - Static method in class simulation.engine.Body
Returns the default bounciness, which is the bounciness assigned to bodies without an otherwise-specified bounciness.
getDefaultDensity() - Static method in class simulation.engine.Body
Returns the default density, which is the density assigned to bodies without an otherwise-specified density.
getDefaultFriction() - Static method in class simulation.engine.Body
Returns the default friction, which is the friction assigned to bodies without an otherwise-specified friction.
getDensity() - Method in class simulation.engine.Body
Returns this body's density.
getFriction() - Method in class simulation.engine.Body
Returns the friction value of this object.
getGravity() - Method in class simulation.engine.Simulation
Returns the current strength of the gravity.This value dictates how hard the gravity pulls on various objects; a value of 0 means no gravity and a value <0 means anti-gravity.
getHeight() - Method in class simulation.engine.Simulation
Returns the height of this simulation.
getListeners() - Method in class simulation.engine.Simulation
Returns an array of all the physics listeners currently registered to this model.
getMass() - Method in class simulation.engine.Body
Returns the mass of this body.
getModel() - Method in class simulation.gui.MainWindow
Returns the simulation that this window shows.
getModel() - Method in class simulation.gui.SimulationStatusBar
Returns which model this status bar is attached to.
getMomentOfInertia() - Method in class simulation.engine.Body
Returns the body's moment of inertia.
getPolygon() - Method in class simulation.gui.PolygonPad
Returns the polygon from this pad.
getShape() - Method in class simulation.engine.Body
Get the body's shape.
getSpeed() - Method in class simulation.gui.SimulationMenu
Returns the speed at which the simulation is or would be playing.
getSpring(int) - Method in class simulation.engine.Simulation
Get the spring at a certain index
getSprings() - Method in class simulation.engine.Simulation
Get the springs as an array.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class simulation.gui.ShapeNodeRenderer
 
getType() - Method in class simulation.engine.Body
Returns the type of this polygon, which is an int that corresponds to the body's shape.
getVelocity() - Method in class simulation.engine.Body
Returns the current velocity of this object.
getVelocity() - Method in class simulation.engine.BodyConnection
 
getVertex(int) - Method in class simulation.engine.CollisionPolygon
Get the vertex at a certain index
getWallColor() - Method in class simulation.engine.Simulation
Returns the walls' color.
getWallColor() - Method in class simulation.gui.MainWindow
Returns the walls' Color.
getWidth() - Method in class simulation.engine.Simulation
Returns the width of this simulation, that is the farthest limit of any shape that represents a body.
getXMax() - Method in class simulation.engine.Simulation
 
getXMin() - Method in class simulation.engine.Simulation
Returns how far the camera must move to get the left-most shape.
getXOffset() - Method in class simulation.gui.CameraEvent
Returns the x-offset of the view.
getXOffset() - Method in class simulation.gui.SimulationView
Returns the view's x-offset.
getYMax() - Method in class simulation.engine.Simulation
 
getYMin() - Method in class simulation.engine.Simulation
Returns how far the camera must move to get the lowest shape.
getYOffset() - Method in class simulation.gui.CameraEvent
Returns the y-offset of the view.
getYOffset() - Method in class simulation.gui.SimulationView
Returns the view's y-offset.
getZoomFactor() - Method in class simulation.gui.CameraEvent
Returns the changed zoom factor of the view.
getZoomFactor() - Method in class simulation.gui.SimulationView
Returns this view's zoom factor.
goToBody(Body) - Method in class simulation.gui.ShapeExplorer
Selects the supplied body if possible.

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