Serialized Form


Package simulation.engine

Class simulation.engine.BodySetEvent extends java.util.EventObject implements Serializable

Serialized Fields

body

Body body

Class simulation.engine.PhysicsApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 1L

Serialized Fields

runner

java.lang.Thread runner

profiler

Profiler profiler

system

Simulation system

width

int width

height

int height

Class simulation.engine.PhysicsEvent extends java.util.EventObject implements Serializable


Package simulation.gui

Class simulation.gui.AboutWindow extends javax.swing.JFrame implements Serializable

Serialized Fields

logo

javax.swing.ImageIcon logo

content

javax.swing.JPanel content

image

javax.swing.JLabel image

text

javax.swing.JPanel text

Class simulation.gui.CameraEvent extends java.util.EventObject implements Serializable

Serialized Fields

zoomFactor

double zoomFactor

xOffset

int xOffset

yOffset

int yOffset

Class simulation.gui.CameraMap extends javax.swing.JPanel implements Serializable

Serialized Fields

model

Simulation model

modelView

SimulationView modelView

ratio

double ratio

view

java.awt.Rectangle view

viewPressed

boolean viewPressed

viewDragStart

java.awt.Point viewDragStart

Class simulation.gui.ColorButton extends javax.swing.JButton implements Serializable

Serialized Fields

color

java.awt.Color color

Class simulation.gui.DefaultsEditor extends javax.swing.JFrame implements Serializable

Serialized Fields

pane

javax.swing.JTabbedPane pane

shapeCreation

javax.swing.JPanel shapeCreation

density

javax.swing.JPanel density

densityLabel

javax.swing.JLabel densityLabel

densitySpinner

javax.swing.JSpinner densitySpinner

bounciness

javax.swing.JPanel bounciness

bouncinessLabel

javax.swing.JLabel bouncinessLabel

bouncinessSpinner

javax.swing.JSpinner bouncinessSpinner

friction

javax.swing.JPanel friction

frictionLabel

javax.swing.JLabel frictionLabel

frictionSpinner

javax.swing.JSpinner frictionSpinner

walls

javax.swing.JPanel walls

wallColor

javax.swing.JPanel wallColor

wallColorButton

ColorButton wallColorButton

wallColorLabel

javax.swing.JLabel wallColorLabel

model

Simulation model

icon

javax.swing.ImageIcon icon

Class simulation.gui.MainWindow extends javax.swing.JFrame implements Serializable

Serialized Fields

toolkit

java.awt.Toolkit toolkit

model

Simulation model
This is the model which represents the objects being simulated.


wallColor

java.awt.Color wallColor

northWall

Body northWall

southWall

Body southWall

westWall

Body westWall

eastWall

Body eastWall

random

java.util.Random random
The pseudorandom number generator used to generate all the needed random numbers for the window of the simulation. The random numbers are used primarily by the presets.


explorer

ShapeExplorer explorer

defaultsEditor

DefaultsEditor defaultsEditor

about

AboutWindow about

polygonPadFrame

javax.swing.JFrame polygonPadFrame

polygonPad

PolygonPad polygonPad

modelView

SimulationView modelView

menuHolder

javax.swing.JScrollPane menuHolder

menu

SimulationMenu menu

statusBar

SimulationStatusBar statusBar

iconImages

java.util.ArrayList<E> iconImages

dragIcon

javax.swing.ImageIcon dragIcon

rectangleToolIcon

javax.swing.ImageIcon rectangleToolIcon

circleToolIcon

javax.swing.ImageIcon circleToolIcon

polygonToolIcon

javax.swing.ImageIcon polygonToolIcon

polygonPadIcon

javax.swing.ImageIcon polygonPadIcon

wallToolIcon

javax.swing.ImageIcon wallToolIcon

folderIcon

javax.swing.ImageIcon folderIcon

pageIcon

javax.swing.ImageIcon pageIcon

holder

javax.swing.JSplitPane holder

bar

javax.swing.JMenuBar bar

file

javax.swing.JMenu file

file_reset

javax.swing.JMenuItem file_reset

file_exit

javax.swing.JMenuItem file_exit

tools

javax.swing.JMenu tools

tools_selection

javax.swing.JMenuItem tools_selection

tools_explore

javax.swing.JMenuItem tools_explore

tools_defaults

javax.swing.JMenuItem tools_defaults

tools_addRectangle

javax.swing.JMenuItem tools_addRectangle

tools_addCircle

javax.swing.JMenuItem tools_addCircle

tools_addPolygon

javax.swing.JMenuItem tools_addPolygon

tools_changePolygon

javax.swing.JMenuItem tools_changePolygon

tools_walls

javax.swing.JMenu tools_walls

tools_walls_all

javax.swing.JMenuItem tools_walls_all

tools_walls_north

javax.swing.JMenuItem tools_walls_north

tools_walls_south

javax.swing.JMenuItem tools_walls_south

tools_walls_east

javax.swing.JMenuItem tools_walls_east

tools_walls_west

javax.swing.JMenuItem tools_walls_west

presets

javax.swing.JMenu presets

presets_fallingCirlces

javax.swing.JMenuItem presets_fallingCirlces

presets_rectCollision

javax.swing.JMenuItem presets_rectCollision

help

javax.swing.JMenu help

help_about

javax.swing.JMenuItem help_about

toolBar

SimulationToolBar toolBar

presetsTimer

java.util.Timer presetsTimer

Class simulation.gui.PolygonPad extends javax.swing.JPanel implements Serializable

Serialized Fields

polygonPadFrame

javax.swing.JFrame polygonPadFrame

points

java.util.ArrayList<E> points

futureLineStroke

java.awt.Stroke futureLineStroke

polygon

java.awt.Polygon polygon

icon

java.awt.image.BufferedImage icon

Class simulation.gui.ShapeExplorer extends javax.swing.JFrame implements Serializable

Serialized Fields

icon

javax.swing.ImageIcon icon

model

Simulation model

view

javax.swing.JSplitPane view

shapeList

javax.swing.JTree shapeList

treeModel

javax.swing.tree.DefaultTreeModel treeModel

topNode

javax.swing.tree.DefaultMutableTreeNode topNode

circles

javax.swing.tree.DefaultMutableTreeNode circles

rectangles

javax.swing.tree.DefaultMutableTreeNode rectangles

polygons

javax.swing.tree.DefaultMutableTreeNode polygons

walls

javax.swing.tree.DefaultMutableTreeNode walls

shapeListHolder

javax.swing.JScrollPane shapeListHolder

shapeView

ShapeView shapeView

shapeViewHolder

javax.swing.JScrollPane shapeViewHolder

Class simulation.gui.ShapeNode extends javax.swing.tree.DefaultMutableTreeNode implements Serializable

Serialized Fields

body

Body body

Class simulation.gui.ShapeNodeRenderer extends javax.swing.tree.DefaultTreeCellRenderer implements Serializable

Serialized Fields

folderIcon

javax.swing.ImageIcon folderIcon

leafIcon

javax.swing.ImageIcon leafIcon

Class simulation.gui.ShapeTracker extends ViewPanel implements Serializable

Serialized Fields

body

Body body

model

Simulation model

bodyBounds

java.awt.Rectangle bodyBounds

viewWidth

int viewWidth

viewHeight

int viewHeight

ratio

double ratio

Class simulation.gui.ShapeView extends javax.swing.JPanel implements Serializable

Serialized Fields

model

Simulation model

body

Body body

pane

javax.swing.JTabbedPane pane

view

javax.swing.JPanel view

tracker

ShapeTracker tracker

edit

javax.swing.JPanel edit

mass_density

javax.swing.JPanel mass_density

mass

javax.swing.JPanel mass

massSpinner

javax.swing.JSpinner massSpinner

massLabel

javax.swing.JLabel massLabel

density

javax.swing.JPanel density

densitySpinner

javax.swing.JSpinner densitySpinner

densityLabel

javax.swing.JLabel densityLabel

bounciness

javax.swing.JPanel bounciness

bouncinessSpinner

javax.swing.JSpinner bouncinessSpinner

bouncinessLabel

javax.swing.JLabel bouncinessLabel

friction

javax.swing.JPanel friction

frictionSpinner

javax.swing.JSpinner frictionSpinner

frictionLabel

javax.swing.JLabel frictionLabel

colorPanel

javax.swing.JPanel colorPanel

colorButton

ColorButton colorButton

colorLabel

javax.swing.JLabel colorLabel

Class simulation.gui.SimulationMenu extends javax.swing.JPanel implements Serializable

Serialized Fields

model

Simulation model

mainWindow

MainWindow mainWindow

speed

double speed

accuracy

double accuracy

going

boolean going

playMenuHolder

javax.swing.JPanel playMenuHolder

playMenu

javax.swing.JPanel playMenu

step

javax.swing.JButton step

play

javax.swing.JButton play

stop

javax.swing.JButton stop

menuPane

javax.swing.JTabbedPane menuPane

optionsMenu

javax.swing.JPanel optionsMenu

speedMenu

javax.swing.JPanel speedMenu

speedSlider

javax.swing.JSlider speedSlider

accuracyMenu

javax.swing.JPanel accuracyMenu

accuracySlider

javax.swing.JSlider accuracySlider

gravityMenu

javax.swing.JPanel gravityMenu

gravitySlider

javax.swing.JSlider gravitySlider

cameraMenu

javax.swing.JPanel cameraMenu

mapPanel

javax.swing.JPanel mapPanel

map

CameraMap map

zoomPanel

javax.swing.JPanel zoomPanel

zoomSlider

javax.swing.JSlider zoomSlider

stepIcon

javax.swing.ImageIcon stepIcon

playIcon

javax.swing.ImageIcon playIcon

stopIcon

javax.swing.ImageIcon stopIcon

animationTimer

java.util.Timer animationTimer

animationTask

java.util.TimerTask animationTask

Class simulation.gui.SimulationStatusBar extends javax.swing.JPanel implements Serializable

Serialized Fields

model

Simulation model

shapeCountPanel

javax.swing.JPanel shapeCountPanel

shapeCountLabel

javax.swing.JLabel shapeCountLabel

playingPanel

javax.swing.JPanel playingPanel

playingLabel

javax.swing.JLabel playingLabel

Class simulation.gui.SimulationToolBar extends javax.swing.JToolBar implements Serializable

Serialized Fields

dragTool

javax.swing.ImageIcon dragTool

circleTool

javax.swing.ImageIcon circleTool

rectangleTool

javax.swing.ImageIcon rectangleTool

polygonTool

javax.swing.ImageIcon polygonTool

polygonPadTool

javax.swing.ImageIcon polygonPadTool

start

java.awt.Color start

end

java.awt.Color end

background

java.awt.GradientPaint background

dragButton

javax.swing.JButton dragButton

circleButton

javax.swing.JButton circleButton

rectangleButton

javax.swing.JButton rectangleButton

polygonButton

javax.swing.JButton polygonButton

polygonPadButton

javax.swing.JButton polygonPadButton

Class simulation.gui.SimulationView extends ViewPanel implements Serializable

Serialized Fields

mainWindow

MainWindow mainWindow

model

Simulation model

popupMenu

javax.swing.JPopupMenu popupMenu

track

javax.swing.JMenuItem track

explore

javax.swing.JMenuItem explore

delete

javax.swing.JMenuItem delete

random

java.util.Random random

selectedBody

Body selectedBody

activeTool

int activeTool

defaultToolIcon

javax.swing.ImageIcon defaultToolIcon

defaultToolCursor

java.awt.Cursor defaultToolCursor

rectangleToolIcon

javax.swing.ImageIcon rectangleToolIcon

rectangleToolCursor

java.awt.Cursor rectangleToolCursor

circleToolIcon

javax.swing.ImageIcon circleToolIcon

circleToolCursor

java.awt.Cursor circleToolCursor

polygonToolIcon

javax.swing.ImageIcon polygonToolIcon

polygonToolCursor

java.awt.Cursor polygonToolCursor

trackIcon

javax.swing.ImageIcon trackIcon

folderIcon

javax.swing.ImageIcon folderIcon

deleteIcon

javax.swing.ImageIcon deleteIcon

drawGhost

boolean drawGhost

ghost

java.awt.Shape ghost

ghostStart

java.awt.Point ghostStart

ghostEnd

java.awt.Point ghostEnd

ghostColor

java.awt.Color ghostColor

zoomFactor

double zoomFactor

xOffset

int xOffset

yOffset

int yOffset

cameraListeners

java.util.ArrayList<E> cameraListeners

Class simulation.gui.TrackWindow extends javax.swing.JFrame implements Serializable

Serialized Fields

tracker

ShapeTracker tracker

Class simulation.gui.ViewPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

imageLocation

java.io.File imageLocation

image

java.awt.image.BufferedImage image

Class simulation.gui.WatermarkedPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

start

java.awt.Color start

end

java.awt.Color end

background

java.awt.GradientPaint background

logoPath

java.lang.String logoPath

logo

java.awt.image.BufferedImage logo