Game of Life 1.5
A B C D E F G H I L M N O P R S T U W Z

S

SHOOTER - Static variable in class org.bitstorm.gameoflife.ShapeCollection
 
SIZE_BIG - Static variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
SIZE_MEDIUM - Static variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
SIZE_SMALL - Static variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
SLOW - Static variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
SMALL - Static variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
SMALLEXPL - Static variable in class org.bitstorm.gameoflife.ShapeCollection
 
Shape - class org.bitstorm.gameoflife.Shape.
Shape contains data of one (predefined) shape.
Shape(String, int[][]) - Constructor for class org.bitstorm.gameoflife.Shape
Constructa a Shape.
ShapeCollection - class org.bitstorm.gameoflife.ShapeCollection.
Contains some nice Game Of Life shapes.
ShapeCollection() - Constructor for class org.bitstorm.gameoflife.ShapeCollection
 
ShapeException - exception org.bitstorm.gameoflife.ShapeException.
Exception for shapes (too big, not found...).
ShapeException() - Constructor for class org.bitstorm.gameoflife.ShapeException
Constructs a ShapeException.
ShapeException(String) - Constructor for class org.bitstorm.gameoflife.ShapeException
Constructs a ShapeException with a description.
StandaloneGameOfLife - class org.bitstorm.gameoflife.StandaloneGameOfLife.
Turns GameOfLife applet into application.
StandaloneGameOfLife() - Constructor for class org.bitstorm.gameoflife.StandaloneGameOfLife
 
StandaloneGameOfLife.GameOfLifeGridIO - class org.bitstorm.gameoflife.StandaloneGameOfLife.GameOfLifeGridIO.
File open and save operations for GameOfLifeGrid.
StandaloneGameOfLife.GameOfLifeGridIO(GameOfLifeGrid) - Constructor for class org.bitstorm.gameoflife.StandaloneGameOfLife.GameOfLifeGridIO
Contructor.
StandaloneGameOfLife.MyDropListener - class org.bitstorm.gameoflife.StandaloneGameOfLife.MyDropListener.
Handles drag and drops to the canvas.
StandaloneGameOfLife.MyDropListener() - Constructor for class org.bitstorm.gameoflife.StandaloneGameOfLife.MyDropListener
 
s - Variable in class org.bitstorm.util.LineEnumerator
 
saveCellUnderMouse(int, int) - Method in class org.bitstorm.gameoflife.CellGridCanvas
Remember state of cell for drawing.
saveShape() - Method in class org.bitstorm.gameoflife.StandaloneGameOfLife.GameOfLifeGridIO
Write shape to disk.
separator - Variable in class org.bitstorm.util.LineEnumerator
 
setAfterWindowResize(Shape, int) - Method in class org.bitstorm.gameoflife.CellGridCanvas
Settings to appy after a window-resize.
setCell(int, int, boolean) - Method in interface org.bitstorm.gameoflife.CellGrid
Set status of cell (alive or dead).
setCell(int, int, boolean) - Method in class org.bitstorm.gameoflife.GameOfLifeGrid
Set value of cell.
setCellSize(int) - Method in class org.bitstorm.gameoflife.CellGridCanvas
Set cell size (zoom factor)
setCellSize(int) - Method in class org.bitstorm.gameoflife.GameOfLife
Sets cell size.
setFileExtension(String) - Method in class org.bitstorm.util.EasyFile
Sets file extension to use
setFileName(String) - Method in class org.bitstorm.util.EasyFile
Sets filename to use
setGeneration(int) - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Set the number of generations in the control bar.
setShape(Shape) - Method in class org.bitstorm.gameoflife.CellGridCanvas
Draws shape in grid.
setShape(Shape) - Method in class org.bitstorm.gameoflife.GameOfLife
Set the new shape
setShape(Shape) - Method in class org.bitstorm.gameoflife.StandaloneGameOfLife.GameOfLifeGridIO
Set a shape and optionally resizes window.
setShapeName(String) - Method in class org.bitstorm.gameoflife.GameOfLifeControlsEvent
Sets name of shape
setSpeed(int) - Method in class org.bitstorm.gameoflife.GameOfLife
Set speed of new generations.
setSpeed(int) - Method in class org.bitstorm.gameoflife.GameOfLifeControlsEvent
Sets speed of Game
setZoom(String) - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Called when a new cell size from the zoom pull down is selected.
setZoom(int) - Method in class org.bitstorm.gameoflife.GameOfLifeControlsEvent
Sets zoom of Game
shape - Variable in class org.bitstorm.gameoflife.Shape
 
shapeName - Variable in class org.bitstorm.gameoflife.GameOfLifeControlsEvent
 
shapeSelected(GameOfLifeControlsEvent) - Method in class org.bitstorm.gameoflife.GameOfLife
Callback from GameOfLifeControlsListener
shapeSelected(String) - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Called when a new shape from the shape pull down is selected.
shapeSelected(GameOfLifeControlsEvent) - Method in interface org.bitstorm.gameoflife.GameOfLifeControlsListener
A new shape is selected.
shapes - Static variable in class org.bitstorm.gameoflife.GameOfLifeGrid
 
shapesChoice - Variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
showAboutDialog() - Method in class org.bitstorm.gameoflife.AppletFrame
Show about dialog.
showGenerations() - Method in class org.bitstorm.gameoflife.GameOfLife
Show number of generations.
showLicenseDialog() - Method in class org.bitstorm.gameoflife.AppletFrame
Show license.
showManualDialog() - Method in class org.bitstorm.gameoflife.AppletFrame
Show manual.
showStatus(String) - Method in class org.bitstorm.gameoflife.StandaloneGameOfLife
Do not use showStatus() of the applet.
speed - Variable in class org.bitstorm.gameoflife.GameOfLifeControlsEvent
 
speedChanged(GameOfLifeControlsEvent) - Method in class org.bitstorm.gameoflife.GameOfLife
Callback from GameOfLifeControlsListener
speedChanged(int) - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Called when a new speed from the speed pull down is selected.
speedChanged(GameOfLifeControlsEvent) - Method in interface org.bitstorm.gameoflife.GameOfLifeControlsListener
A new speed is selected.
start() - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Start-button is activated.
start2() - Method in class org.bitstorm.gameoflife.GameOfLife
Starts creating new generations.
startLabelText - Variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
startStopButtonClicked(GameOfLifeControlsEvent) - Method in class org.bitstorm.gameoflife.GameOfLife
Callback from GameOfLifeControlsListener
startStopButtonClicked() - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Called when the start/stop-button is clicked.
startStopButtonClicked(GameOfLifeControlsEvent) - Method in interface org.bitstorm.gameoflife.GameOfLifeControlsListener
The Start/Stop button is clicked.
startstopButton - Variable in class org.bitstorm.gameoflife.GameOfLifeControls
 
stop() - Method in class org.bitstorm.gameoflife.GameOfLife
 
stop() - Method in class org.bitstorm.gameoflife.GameOfLifeControls
Stop-button is activated.
stopLabelText - Variable in class org.bitstorm.gameoflife.GameOfLifeControls
 

Game of Life 1.5
A B C D E F G H I L M N O P R S T U W Z

This API descibes the Game of Life program, written by Edwin Martin. The source code is available online too.

Copyright 1996-2004 Edwin Martin <edwin@bitstorm.org>.