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

A

act() - Method in class noope.laws.Law
Make the law act upon the entities.
act() - Method in class noope.laws.ParticlePairLaw
Apply law to all pairs of entities.
act() - Method in class noope.output.OutputProjection
Does not exert a force on any objects, just outputs.
act() - Method in class noope.output.OutputText
 
actOnPair(Entity, Entity) - Method in class noope.laws.ParticlePairLaw
Applies the law to the two parameters.
actOnPair(Entity, Entity) - Method in class noope.laws.Gravity
This evaluates the gravitational force for the given pair of entitys and calls addForce appropriately for each of them.
actOnPair(Entity, Entity) - Method in class noope.laws.SphereCollision
Acts on the pair of entities ent1 and ent2.
add(Vector3D) - Method in class noope.core.Vector3D
Return a new Vector3D representing the vector sum of this Vector3D and the Vector3D v.
addForce(Vector3D) - Method in class noope.entities.Entity
Apply a force to this Entity.
addFrame(Gif89Frame) - Method in class net.jmge.gif.Gif89Encoder
Add a Gif89Frame frame to the end of the internal sequence.
addFrame(Image) - Method in class net.jmge.gif.Gif89Encoder
Convenience version of addFrame() that takes a Java Image, internally constructing the requisite DirectGif89Frame.
addFrame(int, int, byte[]) - Method in class net.jmge.gif.Gif89Encoder
The index-model convenience version of addFrame().
addInplace(Vector3D) - Method in class noope.core.MutableVector3D
Increment this Vector3D by the Vector3D v inplace.
AnimatedGifCreator - class noope.output.AnimatedGifCreator.
This is an AnimationListener, that creates an animated gif of the frames it is given or static gif frames of an animation.
AnimatedGifCreator(BufferedImage, String, String, int, int) - Constructor for class noope.output.AnimatedGifCreator
Constructs a new AnimatedGifCreator.
AnimationListener - interface noope.output.AnimationListener.
The OutputProjection Law uses an object implementing this interface for displaying animations, or outputting them to a gif file...
Applet1 - class gravsphcolldemo.Applet1.
Title: NOOPE Gravity and Sphere Collision demonstration Description: This is a demonstration of NOOPE (the Newtonian Object-oriented Physics Engine).
Applet1() - Constructor for class gravsphcolldemo.Applet1
Construct the applet
Applet2 - class gravsphcolldemo.Applet2.
Title: AWT Gravity and Sphere Collision Demo Applet Description: This applet demonstrates the use of NOOPE to simulate the Gravity and SphereCollision laws.
Applet2() - Constructor for class gravsphcolldemo.Applet2
Construct the applet
ArrayBlockReader - class noope.input.ArrayBlockReader.
This class implements the simplest possible BlockReader.
ArrayBlockReader(String, String, String[][], BlockReader[]) - Constructor for class noope.input.ArrayBlockReader
Construct an ArrayBlockReader from strings and string arrays.
assertEmpty() - Method in class noope.input.BlockReader
Throws exception unless BlockReader is empty.
assertSubClass(BlockReaderLocation, Class, Class) - Static method in class noope.input.BRClassLoaderUtils
This method asserts that the Class child is a subclass of the Class parent If it isn't, a BRLoadingException is thrown.
assertValid() - Method in class gravsphcolldemo.ProjectionBrData
Asserts that all the data is provided (If it is, it has to be valid, because there is no way of storing it in this object, other than getting it via the public accessors.
assertValid() - Method in class gravsphcolldemo.EntityBrData
Asserts that the data stored is complete (i.e.
AWTRunDialog - class gravsphcolldemo.AWTRunDialog.
This version of the RunDialog uses AWT, rather than Swing.
AWTRunDialog(Frame) - Constructor for class gravsphcolldemo.AWTRunDialog
 

B

BlockReader - class noope.input.BlockReader.
This is an abstract class used for reading in the law and entity definitions.
BlockReader() - Constructor for class noope.input.BlockReader
 
BlockReaderContext - class noope.input.BlockReaderContext.
This class stores human-readable information about a position in a BlockReader (at which an error has occurred).
BlockReaderContext() - Constructor for class noope.input.BlockReaderContext
 
BlockReaderException - exception noope.input.BlockReaderException.
An exception of this class (or one of its subclasses) is thrown by the BlockReader or any of its subclasses
BlockReaderException(String, BlockReaderLocation) - Constructor for class noope.input.BlockReaderException
Constructs a new BRLoadingException object.
BlockReaderLocation - class noope.input.BlockReaderLocation.
A location in a BlockReader that identifies a position in that particular BlockReader (and to its parents of which it is a subblock).
BlockReaderLocation() - Constructor for class noope.input.BlockReaderLocation
 
BlockReaderLocationWithContext - class noope.input.BlockReaderLocationWithContext.
This class implements a BlockReaderLocation that contains the context straight away; this is needed when an exception occurs while a BlockReader is being constructed, since then, we don't have it to produce the context from the location.
BlockReaderLocationWithContext(BlockReaderContext) - Constructor for class noope.input.BlockReaderLocationWithContext
 
BRClassLoaderUtils - class noope.input.BRClassLoaderUtils.
This class provides utility functions for dynamically loading classes from BlockReader objects.
BRClassLoaderUtils() - Constructor for class noope.input.BRClassLoaderUtils
 
BREntryNotFoundException - exception noope.input.BREntryNotFoundException.
This exception is raised when an object constructing itself from a BlockReader object does not find an entry it needs.
BREntryNotFoundException(String, BlockReaderLocation) - Constructor for class noope.input.BREntryNotFoundException
Constructs a new Exception object.
BRFileIOException - exception noope.input.BRFileIOException.
A BlockReader throws this exception when a file I/O error occurs.
BRFileIOException(String, BlockReaderLocation, IOException) - Constructor for class noope.input.BRFileIOException
 
BRLoadingException - exception noope.input.BRLoadingException.
An exception of this class (or one of its subclasses) is thrown by an object failing to load itself from a BlockReader.
BRLoadingException(String, BlockReaderLocation) - Constructor for class noope.input.BRLoadingException
Constructs a new BRLoadingException object.
BRLoadingParseException - exception noope.input.BRLoadingParseException.
This exception is thrown by an object loading itself from a BlockReader if it fails to parse some text, it expects to be in a defined format.
BRLoadingParseException(String, BlockReaderLocation) - Constructor for class noope.input.BRLoadingParseException
Constructs an exception with the specified message and location by just calling the inherited constructor.
buffer - Variable in class noope.output.BufferedFrame
The buffer used for drawing.
BufferedFrame - class noope.output.BufferedFrame.
This class implements a frame object that is buffered: whenever it needs redrawing, it occurs into a BufferedImage object first, before it is finally drawn to the screen.
BufferedFrame(String, int, int) - Constructor for class noope.output.BufferedFrame
Constructs a new BufferedFrame.
buttonCancel_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.EditProjectionDialog
Called when the user presses the Cancel button or closes the dialog.
buttonCancel_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.EditEntityDialog
Called when the user presses the Cancel button or closes the dialog.
buttonDelEntity_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.Applet2
 
buttonEditEntity_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.Applet2
 
buttonGo_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.Applet2
Called when the user presses the Go button, starts the simulation.
buttonNewEntity_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.Applet2
 
buttonOK_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.EditProjectionDialog
This method is called when the user presses the OK button.
buttonOK_actionPerformed(ActionEvent) - Method in class gravsphcolldemo.EditEntityDialog
This method is called when the user presses the OK button.

C

cancelled - Variable in class gravsphcolldemo.EditProjectionDialog
Whether the dialog has been cancelled.
cancelled - Variable in class gravsphcolldemo.EditEntityDialog
Whether the dialog has been cancelled.
color - Variable in class noope.output.OutputProjectionColoredPropertyRecord
This field stores the color used to draw the object.
ColorInputVerifier - class gravsphcolldemo.ColorInputVerifier.
This is an input-verifier for JTextField's containing a colorname or a color-Vector3D with components in the range 0-1.
ColorInputVerifier() - Constructor for class gravsphcolldemo.ColorInputVerifier
Constructs a new ColorInputVerifier object.
ColorInputVerifier(boolean) - Constructor for class gravsphcolldemo.ColorInputVerifier
Constructs a new ColorInputVerifier object.
constructNewPropertyRecord(BlockReader, Entity) - Method in class noope.laws.Law
Create a new LawPropertyRecord from the BlockReader object.
constructNewPropertyRecord(BlockReader, Entity) - Method in class noope.laws.Gravity
Returns a new GravityPropertyRecord, calling its constructor with (br, ent).
constructNewPropertyRecord(BlockReader, Entity) - Method in class noope.laws.SphereCollision
Returns a new SphereCollisionPropertyRecord.
constructNewPropertyRecord(BlockReader, Entity) - Method in class noope.output.OutputProjection
Constructs a new OutputProjectionPropertyRecord object.
convertEscapes(String) - Static method in class noope.input.StringOperations
 
convertToContext() - Method in class noope.input.BlockReaderLocation
 
convertToContext() - Method in class noope.input.StringBlockReaderLocation
 
convertToContext() - Method in class noope.input.BlockReaderLocationWithContext
 
createEntity(String, BlockReaderLocation, BlockReader, Physics) - Method in class noope.input.EntityLoader
This method should create a new Entity object.
createEntity(String, BlockReaderLocation, BlockReader, Physics) - Method in class noope.input.HardCodedEntityLoader
Creates a new Entity object.
createEntity(String, BlockReaderLocation, BlockReader, Physics) - Method in class noope.input.DynamicEntityLoader
Dynamically loads the Entity class with the given name and creates an instance of it.
createLaw(String, BlockReaderLocation, BlockReader, int, Physics) - Method in class noope.input.LawLoader
This method should create a new Law object.
createLaw(String, BlockReaderLocation, BlockReader, int, Physics) - Method in class noope.input.HardCodedLawLoader
Returns a new Law object.
createLaw(String, BlockReaderLocation, BlockReader, int, Physics) - Method in class noope.input.DynamicLawLoader
Tries to create a new instance of the law class with the given name.
createLawPropertyRecord(String, BlockReaderLocation, BlockReader, Entity) - Method in class noope.input.LawPropertyRecordLoader
This method should create a new LawPropertyRecord object.
createLawPropertyRecord(String, BlockReaderLocation, BlockReader, Entity) - Method in class noope.input.HardCodedLawPropertyRecordLoader
Creates a new instance of the given class.
createLawPropertyRecord(String, BlockReaderLocation, BlockReader, Entity) - Method in class noope.input.DynamicLawPropertyRecordLoader
This method dynamically loads the class with the given name.
crossProduct(Vector3D) - Method in class noope.core.Vector3D
Return the cross product of this Vector3D and the Vector3D v.

D

defaultColor - Static variable in class noope.output.OutputProjectionColoredPropertyRecord
The default color used to draw the object if none is given.
defaultFill - Static variable in class noope.output.OutputProjectionShapePropertyRecord
The default value for fill.
defaultG - Static variable in class noope.laws.Gravity
This is the default universal gravitational constant having the value 6.6732e-11.
defaultHeight - Static variable in class noope.output.OutputProjection
The width of the image used by default if nothing is provided in the BlockReader object passed to the constructor.
defaultPackage - Variable in class noope.input.DynamicLawPropertyRecordLoader
The default package to load classes from if they cannot be found with the exact name.
defaultPackage - Variable in class noope.input.DynamicEntityLoader
Stores the default package used if the class cannot be found with its exact name.
defaultPackage - Variable in class noope.input.DynamicLawLoader
Stores the name of the default package to search in.
defaultPointSize - Static variable in class noope.output.OutputProjectionPointPropertyRecord
The default pointSize.
defaultWidth - Static variable in class noope.output.OutputProjection
The height of the image used by default if nothing is provided in the BlockReader object passed to the constructor.
defaultXpos - Static variable in class noope.output.OutputProjection
The default x position at which the window should appear.
defaultYpos - Static variable in class noope.output.OutputProjection
The default y position at which the window should appear.
destroy() - Method in class gravsphcolldemo.Applet1
Destroy the applet
destroy() - Method in class gravsphcolldemo.Applet2
Destroy the applet
DirectGif89Frame - class net.jmge.gif.DirectGif89Frame.
Instances of this Gif89Frame subclass are constructed from RGB image info, either in the form of an Image object or a pixel array.
DirectGif89Frame(Image) - Constructor for class net.jmge.gif.DirectGif89Frame
Construct an DirectGif89Frame from a Java image.
DirectGif89Frame(int, int, int[]) - Constructor for class net.jmge.gif.DirectGif89Frame
Construct an DirectGif89Frame from ARGB pixel data.
disabled - Variable in class noope.output.OutputProjection
True after the window has been disabled (by the user closing it or by dispose()).
displayMessage(Frame, String, String) - Static method in class noope.output.MessageBox
Displays a MessageBox with the specifided owner, title and message.
dispose() - Method in class noope.core.Physics
Disposes of resources by calling dispose() on the list of entities and the list of laws.
dispose() - Method in class noope.core.Entities
Disposes of resources by calling dispose() on each of the Entity objects stored in the List.
dispose() - Method in class noope.core.Laws
Disposes of resources by calling dispose() on each of the Laws stored in the List.
dispose() - Method in class noope.entities.Entity
Disposes of system resources.
dispose() - Method in class noope.laws.Law
Dispose of system resources used by this law.
dispose() - Method in class noope.laws.LawPropertyRecord
Disposes of system resources held by this LawPropertyRecord.
dispose() - Method in interface noope.output.AnimationListener
Disposes of system resources used and finished processing, e.g.
dispose() - Method in class noope.output.OutputProjection
Closes the windows opened, then calls the inherited method.
dispose() - Method in class noope.output.DrawingWindow
Disposes of system resources used.
dispose() - Method in class noope.output.AnimatedGifCreator
Encodes into a file.
dispose() - Method in class noope.output.BufferedFrame
Hides the frame and disposes of system resources held by it, making it unusable.
dispose() - Method in class gravsphcolldemo.AWTRunDialog
Overridden to dispose of phys.
dispose() - Method in class gravsphcolldemo.RunDialog
Overridden to dispose of phys.
DM_BGCOLOR - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall replace this Gif89Frame's area with the background color.
DM_LEAVE - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall take no display-disposal action.
DM_REVERT - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall replace this Gif89Frame's area with the previous frame's bitmap.
DM_UNDEFINED - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall decide how to dispose of this Gif89Frame's display area.
dotProduct(Vector3D) - Method in class noope.core.Vector3D
Return the scalar product of this Vector3D and the Vector3D v.
DoubleInputVerifier - class gravsphcolldemo.DoubleInputVerifier.
This is an InputVerifier object for swing JTextField objects that verifies whether the value entered can be parsed as a double.
DoubleInputVerifier() - Constructor for class gravsphcolldemo.DoubleInputVerifier
Constructs a new DoubleInputVerifier object.
DoubleInputVerifier(boolean) - Constructor for class gravsphcolldemo.DoubleInputVerifier
Constructs a new DoubleInputVerifier object.
draw(Graphics2D, double, double) - Method in class noope.output.OutputProjectionPropertyRecord
This method draws the object on the Graphics object at the position (X,Y).
draw(Graphics2D, double, double) - Method in class noope.output.OutputProjectionPointPropertyRecord
This method draws a square of size pointSize on the Graphics object at the position (X,Y).
draw(Graphics2D, double, double) - Method in class noope.output.OutputProjectionShapePropertyRecord
Draws sh
drawingGraphics() - Method in interface noope.output.AnimationListener
Returns a Graphics2D object that can be used to draw into the BufferedImage.
drawingGraphics() - Method in class noope.output.DrawingWindow
Returns a Graphics2D object that can be used to draw into the BufferedImage.
drawingGraphics() - Method in class noope.output.AnimatedGifCreator
Returns a Graphics2D object that can be used to draw into the BufferedImage.
DrawingWindow - class noope.output.DrawingWindow.
This class displays a BufferedImage on the screen.
DrawingWindow(BufferedImage) - Constructor for class noope.output.DrawingWindow
Constructs a DrawingWindow object that displays the given BufferedImage.
DynamicEntityLoader - class noope.input.DynamicEntityLoader.
This EntityLoader class loads Entity-s dynamically.
DynamicEntityLoader(String) - Constructor for class noope.input.DynamicEntityLoader
Constructs a new DynamicEntityLoader that first tries to load an Entity class with exactly the name provided, and, if that fails, tries to look in the package specified.
DynamicLawLoader - class noope.input.DynamicLawLoader.
This class implements a LawLoader that loads Law classes dynamically.
DynamicLawLoader(String) - Constructor for class noope.input.DynamicLawLoader
Constructs a new DynamicLawLoader class that tries to load classes first with the exact name given and then, if that fails, in the package specified.
DynamicLawPropertyRecordLoader - class noope.input.DynamicLawPropertyRecordLoader.
This is a LawPropertyRecordLoader that dynamically loads the class with the given name.
DynamicLawPropertyRecordLoader(String) - Constructor for class noope.input.DynamicLawPropertyRecordLoader
Constructs a new DynamicLawPropertyRecordLoader object.

E

EditEntityDialog - class gravsphcolldemo.EditEntityDialog.
Title: AWT Gravity and Sphere Collision Demo Applet Description: This applet demonstrates the use of NOOPE to simulate the Gravity and SphereCollision laws.
editEntityDialog(Frame, EntityBrData) - Static method in class gravsphcolldemo.EditEntityDialog
Displays a new modal EditEntityDialog allowing the user to edit data.
EditEntityDialog(Frame, String) - Constructor for class gravsphcolldemo.EditEntityDialog
 
EditProjectionDialog - class gravsphcolldemo.EditProjectionDialog.
Title: AWT Gravity and Sphere Collision Demo Applet Description: This applet demonstrates the use of NOOPE to simulate the Gravity and SphereCollision laws.
editProjectionDialog(Frame, ProjectionBrData) - Static method in class gravsphcolldemo.EditProjectionDialog
Displays a new instance of this dialog, allowing the user to edit the ProjectionBrData record initialValue.
EditProjectionDialog(Frame, String) - Constructor for class gravsphcolldemo.EditProjectionDialog
Makes a new instance of this dialog.
encode(OutputStream) - Method in class net.jmge.gif.Gif89Encoder
After adding your frame(s) and setting your options, simply call this method to write the GIF to the passed stream.
entities - Variable in class gravsphcolldemo.Applet2
List of the EntityBrData objects entered by the user and displayed in the List.
Entities - class noope.core.Entities.
This class maintains a list of Entity objects.
Entities(BlockReader, Physics) - Constructor for class noope.core.Entities
Constructs the Entities object from the supplied BlockReader.
Entity - class noope.entities.Entity.
This class represents a physical object modelled.
Entity(BlockReader, Physics) - Constructor for class noope.entities.Entity
Construcst an Entity from the supplied BlockReader.
EntityBrData - class gravsphcolldemo.EntityBrData.
This class stores information needed to construct an ArrayBlockReader defining an Entity for a simulation in Applet2.
EntityBrData() - Constructor for class gravsphcolldemo.EntityBrData
Constructs a new EntityBrData object without initializing any of its data members.
EntityBrData(String, String, String, String, String, String) - Constructor for class gravsphcolldemo.EntityBrData
Constructs a new EntityBrData object from the given data by calling the setXXXX methods.
EntityLoader - class noope.input.EntityLoader.
Objects of this class provide to Entities a means of creating new instances of Entity classes with a given name.
EntityLoader() - Constructor for class noope.input.EntityLoader
 
equals(Object) - Method in class noope.core.Vector3D
Compare a Vector3D and an Object.
equals(Vector3D) - Method in class noope.core.Vector3D
Compare two Vector3D objects.
ex - Static variable in class noope.core.Vector3D
Unit vector in x direction
ey - Static variable in class noope.core.Vector3D
Unit vector in y direction
ez - Static variable in class noope.core.Vector3D
Unit vector in z direction

F

FileBlockReader - class noope.input.FileBlockReader.
A StringBlockReader with support for reading from files.
FileBlockReader(BufferedReader) - Constructor for class noope.input.FileBlockReader
 
FileBlockReader(String) - Constructor for class noope.input.FileBlockReader
 
fill - Variable in class noope.output.OutputProjectionShapePropertyRecord
Whether the shape should be filled when drawn.

G

getAcceptEmpty() - Method in class gravsphcolldemo.ColorInputVerifier
Is the empty string accepted as a valid entry?
getAcceptEmpty() - Method in class gravsphcolldemo.DoubleInputVerifier
Is the empty string accepted as a valid entry?
getAcceptEmpty() - Method in class gravsphcolldemo.Vector3DInputVerifier
Is the empty string accepted as a valid entry?
getActiveForce() - Method in class noope.entities.Entity
Return this Entity's own contribution to the resultant force.
getAnimGifArrayBlockReader(String, String) - Method in class gravsphcolldemo.ProjectionBrData
Returns an ArrayBlockReader object representing the OutputProjection law, whose data is stored in this ProjectionBrData object.
getAppletInfo() - Method in class gravsphcolldemo.Applet1
Get Applet information
getAppletInfo() - Method in class gravsphcolldemo.Applet2
Get Applet information
getArrayBlockReader(String[], int) - Method in class gravsphcolldemo.EntityBrData
First calls assertValid() and then returns an ArrayBlockReader representing the Entity this EntityBrData object represents.
getArrayBlockReader(String, String) - Method in class gravsphcolldemo.ProjectionBrData
Returns an ArrayBlockReader object representing the OutputProjection law, whose data is stored in this ProjectionBrData object.
getArrayBlockReader(String, String, String) - Method in class gravsphcolldemo.ProjectionBrData
Returns an ArrayBlockReader object representing the OutputProjection law, whose data is stored in this ProjectionBrData object.
getBlockLocation() - Method in class noope.input.BlockReader
Similar to getEntryLocation
getBlockLocation() - Method in class noope.input.StringBlockReader
 
getBlockLocation() - Method in class noope.input.ArrayBlockReader
 
getClassWithExactName(BlockReaderLocation, String) - Static method in class noope.input.BRClassLoaderUtils
Gets the class with the given name.
getClassWithName(BlockReaderLocation, String, String) - Static method in class noope.input.BRClassLoaderUtils
Tries to get the class with the given name.
getColor() - Method in class gravsphcolldemo.EntityBrData
Gets the Color.
getConstructor(BlockReaderLocation, Class, Class[]) - Static method in class noope.input.BRClassLoaderUtils
Gets the constructor of theClass matching the parameter format paramsClasses.
getContext(BlockReaderLocation) - Method in class noope.input.BlockReader
Converts a Location into a fully-qualified Context object.
getContext(BlockReaderLocation) - Method in class noope.input.StringBlockReader
 
getContext(BlockReaderLocation) - Method in class noope.input.ArrayBlockReader
 
getEntities() - Method in class noope.core.Physics
Provide access to the list of Entities
getEntityLoader() - Method in class noope.core.Physics
Returns the EntityLoader object used by this Physics object.
getEntryLocation() - Method in class noope.input.BlockReader
Returns a BlockReaderLocation object describing the current Entry location.
getEntryLocation() - Method in class noope.input.StringBlockReader
 
getEntryLocation() - Method in class noope.input.ArrayBlockReader
 
getEx() - Method in class noope.input.BRFileIOException
 
getFrameAt(int) - Method in class net.jmge.gif.Gif89Encoder
Get a reference back to a Gif89Frame object by position.
getFrameCount() - Method in class net.jmge.gif.Gif89Encoder
Get the number of frames that have been added so far.
getGravitationalMass() - Method in class noope.laws.GravityPropertyRecord
At this point, I've gone to have tea, so you'll have to guess, what this method does.
getHeader() - Method in class noope.input.BlockReader
Returns the header of this block.
getHeader() - Method in class noope.input.StringBlockReader
 
getHeader() - Method in class noope.input.ArrayBlockReader
 
getInertialMass() - Method in class noope.entities.Entity
Return this Entity's inertial mass, used in Newton's second law (F = ma) calculations
getLaw(String) - Method in class noope.core.Laws
Return a Law identified by the a string, or throw a LawNotFoundException if this Law does not exist.
getLawLoader() - Method in class noope.core.Physics
Returns the LawLoader object used by this Physics object.
getLawPropertyRecordLoader() - Method in class noope.core.Physics
Returns the LawPropertyRecordLoader object used by this Physics object.
getLaws() - Method in class noope.core.Physics
Provide access to the list of Laws
getLocation() - Method in class noope.input.BRLoadingException
Returns a BlockReaderLocation object referring to the position in the BlockReader at which the exception has been raised.
getMass() - Method in class gravsphcolldemo.EntityBrData
Returns the mass.
getMaximumSize() - Method in class noope.output.DrawingWindow
 
getMinimumSize() - Method in class noope.output.DrawingWindow
 
getModulus() - Method in class noope.core.Vector3D
Return the modulus of this Vector3D.
getModulusSquared() - Method in class noope.core.Vector3D
Return the square modulus of this Vector3D.
getName() - Method in class noope.entities.Entity
Return this Entity's name
getName() - Method in class noope.laws.Law
Returns the name of the law object.
getName() - Method in class gravsphcolldemo.ProjectionBrData
Returns the name of the OutputProjection law.
getName() - Method in class gravsphcolldemo.EntityBrData
Returns the name.
getNewInstance(BlockReaderLocation, Class, Constructor, Object[]) - Static method in class noope.input.BRClassLoaderUtils
Creates a new instance constructed with theConstructor, with params as the arguments.
getNextBlock() - Method in class noope.input.BlockReader
Returns the next subblock, which is an instance of BlockReader.
getNextBlock() - Method in class noope.input.StringBlockReader
 
getNextBlock() - Method in class noope.input.ArrayBlockReader
 
getNextEntry() - Method in class noope.input.BlockReader
Returns the next Entry, as a string array.
getNextEntry() - Method in class noope.input.StringBlockReader
 
getNextEntry() - Method in class noope.input.ArrayBlockReader
 
getNormal() - Method in class gravsphcolldemo.ProjectionBrData
Returns the normal.
getNumber() - Method in class noope.laws.Law
Returns the number of the law object.
getParameter() - Method in class noope.input.BlockReader
Returns the parameter of this block.
getParameter() - Method in class noope.input.StringBlockReader
 
getParameter() - Method in class noope.input.ArrayBlockReader
 
getParameter(String, String) - Method in class gravsphcolldemo.Applet1
Get a parameter value
getParameter(String, String) - Method in class gravsphcolldemo.Applet2
Get a parameter value
getParameterInfo() - Method in class gravsphcolldemo.Applet1
Get parameter info
getParameterInfo() - Method in class gravsphcolldemo.Applet2
Get parameter info
getPhysics() - Method in class noope.entities.Entity
Returns the Physics object this Entity belongs to.
getPhysics() - Method in class gravsphcolldemo.AWTRunDialog
Returns the Physics object used for the simulation.
getPhysics() - Method in class gravsphcolldemo.RunDialog
Returns the Physics object used for the simulation.
getPosition() - Method in class noope.entities.Entity
Return this Entity's position
getPosition() - Method in class gravsphcolldemo.EntityBrData
Returns the position.
getPreferredSize() - Method in class noope.output.DrawingWindow
 
getPropertyRecord(int) - Method in class noope.entities.Entity
This method gets the LawPropertyRecord corresponding to the law with the given number.
getRadius() - Method in class noope.laws.SphereCollisionPropertyRecord
Returns the radius of this (spherical) entity.
getRadius() - Method in class gravsphcolldemo.EntityBrData
Returns the radius.
getTime() - Method in class noope.core.Physics
Provide access to the current universal time
getUnitVector() - Method in class noope.core.Vector3D
Return a new Vector3D representing a unit vector in the direction of this Vector3D.
getVelocity() - Method in class noope.entities.Entity
Return this Entity's velocity
getVelocity() - Method in class gravsphcolldemo.EntityBrData
Gets the velocity.
getX() - Method in class noope.core.Vector3D
Return the x component of this Vector3D
getXmax() - Method in class gravsphcolldemo.ProjectionBrData
Returns xmax.
getXmin() - Method in class gravsphcolldemo.ProjectionBrData
Returns xmin.
getY() - Method in class noope.core.Vector3D
Return the y component of this Vector3D
getYmax() - Method in class gravsphcolldemo.ProjectionBrData
Gets ymax.
getYmin() - Method in class gravsphcolldemo.ProjectionBrData
Gets ymin.
getZ() - Method in class noope.core.Vector3D
Return the z component of this Vector3D
Gif89Encoder - class net.jmge.gif.Gif89Encoder.
This is the central class of a JDK 1.1 compatible GIF encoder that, AFAIK, supports more features of the extended GIF spec than any other Java open source encoder.
Gif89Encoder() - Constructor for class net.jmge.gif.Gif89Encoder
Use this default constructor if you'll be adding multiple frames constructed from RGB data (i.e., AWT Image objects or ARGB-pixel arrays).
Gif89Encoder(Color[]) - Constructor for class net.jmge.gif.Gif89Encoder
This constructor installs a user color table, overriding the detection of of a palette from ARBG pixels.
Gif89Encoder(Color[], int, int, byte[]) - Constructor for class net.jmge.gif.Gif89Encoder
Convenience constructor for encoding a static GIF from index-model data.
Gif89Encoder(Image) - Constructor for class net.jmge.gif.Gif89Encoder
Like the default except that it also adds a single frame, for conveniently encoding a static GIF from an image.
Gif89Frame - class net.jmge.gif.Gif89Frame.
First off, just to dispel any doubt, this class and its subclasses have nothing to do with GUI "frames" such as java.awt.Frame.
gifComments - Variable in class noope.output.OutputProjection
String representing the comments written into the gif file.
gifLoopCount - Variable in class noope.output.OutputProjection
How many times to play sequence.
gifName - Variable in class noope.output.OutputProjection
The name of the gif file used for outputting the animation, null if animation is displayed directly on screen.
gifUniformDelay - Variable in class noope.output.OutputProjection
Number of centiseconds to wait between two frames.
Gravity - class noope.laws.Gravity.
Used to implement Newton's inverse square law of gravity
Gravity(BlockReader, int, Physics) - Constructor for class noope.laws.Gravity
Construct a Gravity Law from the supplied BlockReader, with the supplied lawnumber.
GravityPropertyRecord - class noope.laws.GravityPropertyRecord.
This is the LawPropertyRecord class associated with the Gravity law.
GravityPropertyRecord(BlockReader, Entity) - Constructor for class noope.laws.GravityPropertyRecord
Construct the GravityPropertyRecord from the supplied BlockReader, for the supplied Entity.
gravsphcolldemo - package gravsphcolldemo
Various demonstrations of Spheres under Gravity and Elastic Collisions.

H

HardCodedEntityLoader - class noope.input.HardCodedEntityLoader.
This is an implementation of EntityLoader that has all the Entity classes known to it hard-coded.
HardCodedEntityLoader() - Constructor for class noope.input.HardCodedEntityLoader
Does nothing.
HardCodedLawLoader - class noope.input.HardCodedLawLoader.
This is an implementation of LawLoader that hard-codes all the known Law classes.
HardCodedLawLoader() - Constructor for class noope.input.HardCodedLawLoader
This constructor does nothing.
HardCodedLawPropertyRecordLoader - class noope.input.HardCodedLawPropertyRecordLoader.
This is an implementation of the LawPropertyRecordLoader that has all the classes it can load hard-coded in, so it just switches on the className it is given.
HardCodedLawPropertyRecordLoader() - Constructor for class noope.input.HardCodedLawPropertyRecordLoader
This constructor does nothing.
hashCode() - Method in class noope.core.Vector3D
Hash this Vector3D to an integer.
hasMoreBlocks() - Method in class noope.input.BlockReader
Returns TRUE if this block has more Blocks after the one that was last returned
hasMoreBlocks() - Method in class noope.input.StringBlockReader
 
hasMoreBlocks() - Method in class noope.input.ArrayBlockReader
 
hasMoreEntries() - Method in class noope.input.BlockReader
Returns TRUE if this block has more Entries after the one that was last returned
hasMoreEntries() - Method in class noope.input.StringBlockReader
 
hasMoreEntries() - Method in class noope.input.ArrayBlockReader
 
height - Variable in class noope.output.OutputProjection
The height of the image we are displaying.

I

IndexGif89Frame - class net.jmge.gif.IndexGif89Frame.
Instances of this Gif89Frame subclass are constructed from bitmaps in the form of color-index pixels, which accords with a GIF's native palettized color model.
IndexGif89Frame(int, int, byte[]) - Constructor for class net.jmge.gif.IndexGif89Frame
Construct a IndexGif89Frame from color-index pixel data.
init() - Method in class gravsphcolldemo.Applet1
Initialize the applet
init() - Method in class gravsphcolldemo.Applet2
Initialize the applet
insertFrame(int, Gif89Frame) - Method in class net.jmge.gif.Gif89Encoder
Like addFrame() except that the frame is inserted at a specific point in the sequence rather than appended.
isDoubleBuffered() - Method in class noope.output.BufferedFrame
Returns true.
isWhitespace(char) - Static method in class noope.input.StringOperations
 
isWorking() - Method in interface noope.output.AnimationListener
Whether this AnimationListener is ready to be sent image information (or whether it is useful to do so.
isWorking() - Method in class noope.output.DrawingWindow
False after dispose() has been called.
isWorking() - Method in class noope.output.AnimatedGifCreator
Whether this AnimationListener is ready to be sent image information (or whether it is useful to do so.

J

jumpOverToChar(int, String, char) - Static method in class noope.input.StringOperations
 
jumpOverToken(int, String) - Static method in class noope.input.StringOperations
 
jumpOverWhitespace(int, String) - Static method in class noope.input.StringOperations
 

L

lastTime - Variable in class noope.output.OutputProjection
Last time an output was made.
Law - class noope.laws.Law.
This class describes a force-law in the modelled universe.
Law(BlockReader, int, Physics) - Constructor for class noope.laws.Law
Constructs a new Law object from the supplied BlockReader, with lawnumber as its number.
LawLoader - class noope.input.LawLoader.
Objects of this class provide to Laws a means of creating new instances of Law classes with a given name.
LawLoader() - Constructor for class noope.input.LawLoader
 
LawNotFoundException - exception noope.core.LawNotFoundException.
This is raised by Laws.getLaw(String LawName) when it can't find the specified Law
LawNotFoundException() - Constructor for class noope.core.LawNotFoundException
 
LawPropertyRecord - class noope.laws.LawPropertyRecord.
This is a class that stores the properties of an Entity needed by a specific Law.
LawPropertyRecord(BlockReader, Entity) - Constructor for class noope.laws.LawPropertyRecord
Construct a LawPropertyRecord from the supplied BlockReader, for the supplied Entity.
LawPropertyRecordLoader - class noope.input.LawPropertyRecordLoader.
Objects of this class provide to Law objects a means of creating new instances of LawPropertyRecord classes with a given name.
LawPropertyRecordLoader() - Constructor for class noope.input.LawPropertyRecordLoader
 
Laws - class noope.core.Laws.
This class maintains a list of Law objects.
Laws(BlockReader, Physics) - Constructor for class noope.core.Laws
Constructs the Laws object from the supplied BlockReader.
lookupColor(String, BlockReader) - Static method in class noope.output.OutputProjectionColoredPropertyRecord
Tries to look up the color named in s.

M

main(String[]) - Static method in class net.jmge.gif.Gif89Encoder
A simple driver to test the installation and to demo usage.
main(String[]) - Static method in class gravsphcolldemo.Applet1
Main method
main(String[]) - Static method in class gravsphcolldemo.Applet2
Main method
main(String[]) - Static method in class gravsphcolldemo.MakeAnimGif
Command-line arguments: gifName: fileName String totalSimulationTime: double dt: double normal: Vector3D sampling period of OutputProjection: double xmin, xmax, ymin, ymax: doubles n: int -- number of Entities

And n times: position: Vector3D velocity: Vector3D mass: double radius: double colour: name or Vector3D
MakeAnimGif - class gravsphcolldemo.MakeAnimGif.
This program produces an animated gif showing the simulation of spheres under gravity and elastic collision.
MakeAnimGif() - Constructor for class gravsphcolldemo.MakeAnimGif
 
MessageBox - class noope.output.MessageBox.
This class provides a simple modal MessageBox that can be used to display information to the user.
MessageBox(Frame, String, String) - Constructor for class noope.output.MessageBox
Constructs a MessageBox with the given Frame as its owner and the given title and message.
moveShTo(double, double) - Method in class noope.output.OutputProjectionShapePropertyRecord
Moves sh to the point with coordinates (x, y).
moveShTo(double, double) - Method in class noope.output.OutputProjectionCirclePropertyRecord
Moves sh to (x, y).
multScalar(double) - Method in class noope.core.Vector3D
Return a new Vector3D which is result of multiplying each component of this Vector3D by the scalar d.
multScalarInplace(double) - Method in class noope.core.MutableVector3D
Multiply each component of this Vector3D by the scalar d inplace.
MutableVector3D - class noope.core.MutableVector3D.
A mutable extension of Vector3D.
MutableVector3D() - Constructor for class noope.core.MutableVector3D
Construct a MutableVector3D and initialise it to (0, 0, 0).
MutableVector3D(double, double, double) - Constructor for class noope.core.MutableVector3D
Construct a MutableVector3D and initialise it to (new_x, new_y, new_z).
MutableVector3D(String) - Constructor for class noope.core.MutableVector3D
Construct a new MutableVector3D by parsing a string.
MutableVector3D(Vector3D) - Constructor for class noope.core.MutableVector3D
Construct a MutableVector3D equal to v.

N

name - Variable in class noope.entities.Entity
The name associated with this Entity
neatenString(String) - Static method in class noope.input.StringOperations
 
negative() - Method in class noope.core.Vector3D
Return a new Vector3D in the opposite direction to this Vector3D.
net.jmge.gif - package net.jmge.gif
This package contains the Gif89Encoder library, version 0.90 beta (15-Jul-2000) by J M G Elliot and is available from http://jmge.net/java/gifenc/.
newEntityDialog(Frame) - Static method in class gravsphcolldemo.EditEntityDialog
Displays a new modal EditEntityDialog allowing the user to enter details for an entity.
newProjectionDialog(Frame) - Static method in class gravsphcolldemo.EditProjectionDialog
Displays a new instance of this dialog, allowing the user to enter data about a projection.
noope.core - package noope.core
Classes that are core to the NOOPE engine.
noope.entities - package noope.entities
Classes representing physical objects modelled by NOOPE.
noope.input - package noope.input
Classes related to data input.
noope.laws - package noope.laws
Classes describing force laws modelled by NOOPE.
noope.output - package noope.output
Classes related to data output.
normal - Variable in class noope.output.OutputProjection
The unit normal to the plane we are projecting on.
NullOutputStream - class noope.output.NullOutputStream.
This is a subclass of OutputStream that simply ignores all output.
NullOutputStream() - Constructor for class noope.output.NullOutputStream
 

O

okButton_pressed(ActionEvent) - Method in class noope.output.MessageBox
Called when the OK button on the dialog is pressed.
oldX - Variable in class noope.output.OutputProjectionPropertyRecord
 
oldX - Variable in class noope.output.OutputProjectionColoredPropertyRecord
 
oldY - Variable in class noope.output.OutputProjectionPropertyRecord
 
oldY - Variable in class noope.output.OutputProjectionColoredPropertyRecord
 
outputObject - Variable in class noope.output.OutputProjection
The AnimationListener used to display the animation.
outputPosition(Entity, double, double) - Method in class noope.output.OutputProjection
Outputs the position of the Entity e at x, y in the coordinates of the plane we are projecting onto.
OutputProjection - class noope.output.OutputProjection.
This is an output class that can be used to display in real-time an orthogonal projection onto a plane of all the Entity objects in Entities.
OutputProjection(BlockReader, int, Physics) - Constructor for class noope.output.OutputProjection
Constructs a new OutputProjection object from the given BlockReader with the given lawnumber.
OutputProjectionCirclePropertyRecord - class noope.output.OutputProjectionCirclePropertyRecord.
This subclass of OutputProjectionCirclePropertyRecord represents the Entity as a circle.
OutputProjectionCirclePropertyRecord(BlockReader, Entity) - Constructor for class noope.output.OutputProjectionCirclePropertyRecord
Calls the inherited constructor and then reads the double "radius" from br.
OutputProjectionColoredPropertyRecord - class noope.output.OutputProjectionColoredPropertyRecord.
This is an abstract subclass of OutputProjectionPropertyRecord implementing a color property.
OutputProjectionColoredPropertyRecord(BlockReader, Entity) - Constructor for class noope.output.OutputProjectionColoredPropertyRecord
Constructs a new OutputProjectionPropertyRecord object from the BlockReader br and for the Entity ent.
OutputProjectionPointPropertyRecord - class noope.output.OutputProjectionPointPropertyRecord.
This is a LawPropertyRecord class associated with the OutputProjection law.
OutputProjectionPointPropertyRecord(BlockReader, Entity) - Constructor for class noope.output.OutputProjectionPointPropertyRecord
Constructs a new OutputProjectionPointPropertyRecord object from the BlockReader br and for the Entity ent.
OutputProjectionPropertyRecord - class noope.output.OutputProjectionPropertyRecord.
This is the LawPropertyRecord class associated with the OutputProjection law.
OutputProjectionPropertyRecord(BlockReader, Entity) - Constructor for class noope.output.OutputProjectionPropertyRecord
Constructs a new OutputProjectionPropertyRecord object from the BlockReader br and for the Entity ent.
OutputProjectionShapePropertyRecord - class noope.output.OutputProjectionShapePropertyRecord.
This is an abstract OutputProjectionPropertyRecord class intended to be the base class for things that are to be represented by an object implementing java.awt.geom.Shape.
OutputProjectionShapePropertyRecord(BlockReader, Entity) - Constructor for class noope.output.OutputProjectionShapePropertyRecord
Constructs a new OutputProjectionShapePropertyRecord object from the BlockReader br, for the Enitity ent.
OutputText - class noope.output.OutputText.
This is a descendant of Law which writes the position of all entities to a text file every so often.
OutputText(BlockReader, int, Physics) - Constructor for class noope.output.OutputText
 
owner - Variable in class gravsphcolldemo.EditProjectionDialog
Stores the owner; getOwner() apparently didn't exist in Java 1.1.
owner - Variable in class gravsphcolldemo.EditEntityDialog
Stores the owner; getOwner() apparently didn't exist in Java 1.1.

P

paint(Graphics) - Method in class noope.output.DrawingWindow
Draws the BufferedImage the DrawingWindow has been constructed with onto the screen.
paint(Graphics2D, double, double) - Method in class noope.output.OutputProjectionPropertyRecord
This method just calls draw.
ParticlePairLaw - class noope.laws.ParticlePairLaw.
This is an abstract subclass of Law used to model a Law that acts on a pair of Entitys, i.e.
ParticlePairLaw(BlockReader, int, Physics) - Constructor for class noope.laws.ParticlePairLaw
Just calls the inherited constructor.
peekNextBlock() - Method in class noope.input.BlockReader
This method acts as getNextBlock() but does not advance position
peekNextBlock() - Method in class noope.input.StringBlockReader
 
peekNextBlock() - Method in class noope.input.ArrayBlockReader
 
peekNextEntry() - Method in class noope.input.BlockReader
This method acts as getNextEntry() but does not advance position
peekNextEntry() - Method in class noope.input.StringBlockReader
 
peekNextEntry() - Method in class noope.input.ArrayBlockReader
 
period - Variable in class noope.output.OutputProjection
The time between two consecutive outputs.
physics - Variable in class noope.entities.Entity
A reference to the physics world so getActiveForce can learn about its environment.
physics - Variable in class noope.laws.Law
A reference to the physics world so getActiveForce can learn about its environment.
Physics - class noope.core.Physics.
This is the main wrapper class around Laws and Entities.
Physics(BlockReader) - Constructor for class noope.core.Physics
Construct a Physics object from the supplied BlockReader, and initialise the Laws and Entities lists.
Physics(BlockReader, LawLoader, EntityLoader, LawPropertyRecordLoader) - Constructor for class noope.core.Physics
Constructs a new Physics object, just as the other constructor, but you can specify the XXXXLoader objects to use.
pointSize - Variable in class noope.output.OutputProjectionPointPropertyRecord
The size of a point.
ProjectionBrData - class gravsphcolldemo.ProjectionBrData.
This class stores data that can be used to construct an ArrayBlockReader representing an OutputProjection law.
ProjectionBrData() - Constructor for class gravsphcolldemo.ProjectionBrData
Creates a new ProjectionBrData object, without initializing any of the variables.
ProjectionBrData(String, String, String, String, String, String) - Constructor for class gravsphcolldemo.ProjectionBrData
Creates a new ProjectionBrData object that is initialized from the arguments.
projections - Variable in class gravsphcolldemo.Applet2
List of the ProjectionBrData objects entered by the user and displayed in the List.
properties - Variable in class noope.entities.Entity
An array of LawPropertyRecords that store the properties of this entity for each Law currently in use

R

radius - Variable in class noope.output.OutputProjectionCirclePropertyRecord
Stores the radius of the circle.
reportPosition(String, int) - Static method in class noope.input.StringOperations
 
result - Variable in class gravsphcolldemo.EditProjectionDialog
Stores the data the user has entered.
result - Variable in class gravsphcolldemo.EditEntityDialog
Stores the data entered by the user.
run() - Method in class gravsphcolldemo.AWTRunDialog
Runs the simulation.
run() - Method in class gravsphcolldemo.RunDialog
Runs the simulation.
run() - Method in class gravsphcolldemo.MakeAnimGif
Calls phys.run(totalTime, dt), followed by phys.dispose().
run(double, double) - Method in class noope.core.Physics
Run the simulation for a time duration, in intervals of deltaTime This method resets the internal time to zero, then calls step(deltaTime) repeatedly.
RunDialog - class gravsphcolldemo.RunDialog.
Title: NOOPE Gravity and Sphere Collision demonstration Description: This is a demonstration of NOOPE (the Newtonian Object-oriented Physics Engine).
RunDialog() - Constructor for class gravsphcolldemo.RunDialog
 

S

seekFirstBlock() - Method in class noope.input.BlockReader
Resets the subblock position to the beginning, so that the next call to getNextBlock() will return the first subblock (unless there are no subblocks, in which case an exception is thrown, of course.
seekFirstBlock() - Method in class noope.input.StringBlockReader
 
seekFirstBlock() - Method in class noope.input.ArrayBlockReader
 
seekFirstEntry() - Method in class noope.input.BlockReader
Moves the "entry pointer" back to the first Entry, so that the next call to getNextEntry() will return the first one in the block
seekFirstEntry() - Method in class noope.input.StringBlockReader
 
seekFirstEntry() - Method in class noope.input.ArrayBlockReader
 
setAcceptEmpty(boolean) - Method in class gravsphcolldemo.ColorInputVerifier
Sets whether the empty string should be accepted as valid.
setAcceptEmpty(boolean) - Method in class gravsphcolldemo.DoubleInputVerifier
Sets whether the empty string should be accepted as valid.
setAcceptEmpty(boolean) - Method in class gravsphcolldemo.Vector3DInputVerifier
Sets whether the empty string should be accepted as valid.
setColor(String) - Method in class gravsphcolldemo.EntityBrData
Sets the Color.
setComments(String) - Method in class net.jmge.gif.Gif89Encoder
Specify some textual comments to be embedded in GIF.
setDelay(int) - Method in class net.jmge.gif.Gif89Frame
Set the between-frame interval.
setDisposalMode(int) - Method in class net.jmge.gif.Gif89Frame
Setting this option determines (in a cooperative GIF-viewer) what will be done with this frame's display area before the subsequent frame is displayed.
setInterlaced(boolean) - Method in class net.jmge.gif.Gif89Frame
Set or clear the interlace flag.
setLogicalDisplay(Dimension, int) - Method in class net.jmge.gif.Gif89Encoder
Sets attributes of the multi-image display area, if applicable.
setLoopCount(int) - Method in class net.jmge.gif.Gif89Encoder
Set animation looping parameter, if applicable.
setMass(String) - Method in class gravsphcolldemo.EntityBrData
Sets the mass.
setName(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets the name of the OutputProjection law.
setName(String) - Method in class gravsphcolldemo.EntityBrData
Sets the name.
setNormal(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets the normal.
setPhysics(Physics) - Method in class gravsphcolldemo.AWTRunDialog
Sets the Physics object used for the simulation.
setPhysics(Physics) - Method in class gravsphcolldemo.RunDialog
Sets the Physics object used for the simulation.
setPosition(Point) - Method in class net.jmge.gif.Gif89Frame
Set the position of this frame within a larger animation display space.
setPosition(String) - Method in class gravsphcolldemo.EntityBrData
Sets the position.
setPosition(Vector3D) - Method in class noope.entities.Entity
While I was at it, I've also added this method, in case it'll be needed later for some other law.
setRadius(String) - Method in class gravsphcolldemo.EntityBrData
Sets the radius.
setTransparentIndex(int) - Method in class net.jmge.gif.Gif89Encoder
Set the color table index for the transparent color, if any.
setUniformDelay(int) - Method in class net.jmge.gif.Gif89Encoder
A convenience method for setting the "animation speed".
setupMessageBox(String) - Method in class noope.output.MessageBox
Sets up the MessageBox (once its constructed), so it displays the given message.
setVelocity(String) - Method in class gravsphcolldemo.EntityBrData
Sets the velocity.
setVelocity(Vector3D) - Method in class noope.entities.Entity
This method has been added, because it is needed by certain laws like SphereCollision.
setX(double) - Method in class noope.core.MutableVector3D
Set the x component of this Vector3D
setXmax(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets xmax.
setXmin(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets xmin.
setY(double) - Method in class noope.core.MutableVector3D
Set the y component of this Vector3D
setYmax(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets ymax
setYmin(String) - Method in class gravsphcolldemo.ProjectionBrData
Sets ymin.
setZ(double) - Method in class noope.core.MutableVector3D
Set the z component of this Vector3D
sh - Variable in class noope.output.OutputProjectionShapePropertyRecord
Stores the Shape object to draw.
shouldYieldFocus(JComponent) - Method in class gravsphcolldemo.ColorInputVerifier
Displays a message box complaining to the user and informing them briefly of the format of a Color, if the input is invalid, in addition to calling the inherited method.
shouldYieldFocus(JComponent) - Method in class gravsphcolldemo.DoubleInputVerifier
Displays a message box complaining to the user and informing them briefly of the format of a double, if the input is invalid, in addition to calling the inherited method.
shouldYieldFocus(JComponent) - Method in class gravsphcolldemo.Vector3DInputVerifier
Displays a message box complaining to the user and informing them briefly of the format of a Vector3D, if the input is invalid, in addition to calling the inherited method.
SphereCollision - class noope.laws.SphereCollision.
This law models collisions of spherical entitys.
SphereCollision(BlockReader, int, Physics) - Constructor for class noope.laws.SphereCollision
Initializes a new SphereCollision law object from the given BlockReader with the given lawnumber.
SphereCollisionPropertyRecord - class noope.laws.SphereCollisionPropertyRecord.
This is the LawPropertyRecord used by the SphereCollision law to store the radius of each Entity.
SphereCollisionPropertyRecord(BlockReader, Entity) - Constructor for class noope.laws.SphereCollisionPropertyRecord
Constructs a new SphereCollisionPropertyRecord from the given BlockReader.
splitAtFirst(String, char) - Static method in class noope.input.StringOperations
 
splitAtFirstWhitespace(String) - Static method in class noope.input.StringOperations
 
start() - Method in class gravsphcolldemo.Applet1
Start the applet
start() - Method in class gravsphcolldemo.Applet2
Start the applet
startSimulation() - Method in class gravsphcolldemo.AWTRunDialog
Starts the simulation as a separate Thread.
startSimulation() - Method in class gravsphcolldemo.RunDialog
Starts the simulation as a separate Thread.
step(double) - Method in class noope.core.Physics
Run the simulation for a single step of deltaTime.
step(double) - Method in class noope.entities.Entity
Apply Newtonian physics to update velocity and position.
stop() - Method in class gravsphcolldemo.Applet1
Stop the applet
stop() - Method in class gravsphcolldemo.Applet2
Stop the applet
StringBlockReader - class noope.input.StringBlockReader.
A BlockReader that reads in its data from a String.
StringBlockReader(String) - Constructor for class noope.input.StringBlockReader
 
StringBlockReaderContext - class noope.input.StringBlockReaderContext.
A class used to hold the full information about a position in the StringBlockReader.
StringBlockReaderException - exception noope.input.StringBlockReaderException.
StringBlockReader throws this sort of exceptions.
StringBlockReaderException(String, BlockReaderLocation) - Constructor for class noope.input.StringBlockReaderException
 
StringBlockReaderLocation - class noope.input.StringBlockReaderLocation.
Class used to hold some identification of a position in the StringBlockReader.
StringOperations - class noope.input.StringOperations.
Class to provide more useful string operations Written by Paul Evans Last update: 18 May 2001
StringOperations() - Constructor for class noope.input.StringOperations
 
subtract(Vector3D) - Method in class noope.core.Vector3D
Return a new Vector3D representing the vector difference between this Vector3D and the Vector3D v.
subtractInplace(Vector3D) - Method in class noope.core.MutableVector3D
Decrement this Vector3D by the Vector3D v inplace.

T

toString() - Method in class noope.core.Vector3D
Return a string representation of this Vector3D formatted as (x y z)
toString() - Method in class noope.entities.Entity
Returns a String representation of the Entity for debug-quality printing.
toString() - Method in class noope.input.ArrayBlockReader
This method lists the contents of the BlockReader.
toString() - Method in class noope.input.StringBlockReaderException
 
toString() - Method in class noope.input.BRFileIOException
 
toString() - Method in class noope.input.StringBlockReaderContext
 
toString() - Method in class noope.input.StringBlockReaderLocation
 
toString() - Method in class noope.input.BlockReaderLocationWithContext
 
toString() - Method in class noope.laws.Law
Provides for debug-quality printing.
toString() - Method in class noope.laws.Gravity
Return a string representation of this Gravity object, for debugging purposes.
toString() - Method in class noope.laws.GravityPropertyRecord
For debug-quality printing.
toString() - Method in class gravsphcolldemo.ProjectionBrData
This method returns a String representation of ProjectionBrData, that can be used to add it to a AWT List.
toString() - Method in class gravsphcolldemo.EntityBrData
Returns a String representation of the data that can be used, for example, to store this object in an AWT List.

U

update(Graphics) - Method in class noope.output.BufferedFrame
Redraws the frame.
updateComplete() - Method in interface noope.output.AnimationListener
Should be called when
updateComplete() - Method in class noope.output.DrawingWindow
This method calls repaint().
updateComplete() - Method in class noope.output.AnimatedGifCreator
Should be called when frame complete, adds it to Gif89Encoder.

V

Valid - class noope.input.Valid.
This class contains routines for validating various noope-related data like Vector3D, Double, Color, etc.
Valid() - Constructor for class noope.input.Valid
 
validColor(String) - Static method in class noope.input.Valid
Returns true if the String s represents a valid Color object, false otherwise.
validDouble(String) - Static method in class noope.input.Valid
Returns true if s can be parsed as a double, false otherwise.
validVector3D(String) - Static method in class noope.input.Valid
Returns true if the argument represents a valid Vector3D.
validVector3D(String) - Static method in class gravsphcolldemo.Vector3DInputVerifier
Returns true if the argument represents a valid Vector3D.
Vector3D - class noope.core.Vector3D.
Manipulate a 3D cartesian vector.
Vector3D() - Constructor for class noope.core.Vector3D
Construct a Vector3D and initialise it to (0, 0, 0).
Vector3D(double, double, double) - Constructor for class noope.core.Vector3D
Construct a Vector3D and initialise it to (new_x, new_y, new_z).
Vector3D(String) - Constructor for class noope.core.Vector3D
Construct a new Vector3D by parsing a string.
Vector3D(Vector3D) - Constructor for class noope.core.Vector3D
Construct a Vector3D equal to v.
Vector3DInputVerifier - class gravsphcolldemo.Vector3DInputVerifier.
This is a subclass of InputVerifier that can be used to validate a JTextField.
Vector3DInputVerifier() - Constructor for class gravsphcolldemo.Vector3DInputVerifier
Constructs a new Vector3DInputVerifier object.
Vector3DInputVerifier(boolean) - Constructor for class gravsphcolldemo.Vector3DInputVerifier
Constructs a new Vector3DInputVerifier object.
verify(JComponent) - Method in class gravsphcolldemo.ColorInputVerifier
Returns true if the JTextField input contains a valid Color.
verify(JComponent) - Method in class gravsphcolldemo.DoubleInputVerifier
Casts the argument to a JTextField and tries to parse its text as a double.
verify(JComponent) - Method in class gravsphcolldemo.Vector3DInputVerifier
Casts the argument as a JTextField, then parses it as a Vector3D.
verifyString(String) - Static method in class noope.input.StringOperations
 

W

width - Variable in class noope.output.OutputProjection
The width of the image we are displaying.
windowFrame - Variable in class noope.output.OutputProjection
The JFrame used to display window.
write(int) - Method in class noope.output.NullOutputStream
 

X

x - Variable in class noope.core.Vector3D
x component
xmax - Variable in class noope.output.OutputProjection
xmin, xmax, ymin and ymax describe the range of new coordinates to draw.
xmin - Variable in class noope.output.OutputProjection
xmin, xmax, ymin and ymax describe the range of new coordinates to draw.
xnew - Variable in class noope.output.OutputProjection
The new x and y unit vectors.
xpos - Variable in class noope.output.OutputProjection
The x-coordinate of the position at which we are displaying the window.

Y

y - Variable in class noope.core.Vector3D
y component
ymax - Variable in class noope.output.OutputProjection
xmin, xmax, ymin and ymax describe the range of new coordinates to draw.
ymin - Variable in class noope.output.OutputProjection
xmin, xmax, ymin and ymax describe the range of new coordinates to draw.
ynew - Variable in class noope.output.OutputProjection
The new x and y unit vectors.
ypos - Variable in class noope.output.OutputProjection
The y-coordinate of the position at which we are displaying the window.

Z

z - Variable in class noope.core.Vector3D
z component

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