public class LifeGenerator extends BaseGenerator
| Constructor and Description |
|---|
LifeGenerator(java.awt.image.BufferedImage cellsData) |
LifeGenerator(java.io.InputStream in) |
LifeGenerator(int width,
int height,
boolean[] data) |
LifeGenerator(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begin the graph generation.
|
int |
getHeight() |
int |
getWidth() |
boolean |
isCoordsPushed() |
boolean |
isTore() |
boolean |
nextEvents()
Perform the next step in generating the graph.
|
void |
setPushCoords(boolean on) |
void |
setTore(boolean on) |
addEdgeAttribute, addEdgeAttribute, addEdgeAttribute, addEdgeLabels, addNodeAttribute, addNodeAttribute, addNodeAttribute, addNodeLabels, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, setRandomSeed, setUseInternalGraphaddAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBeginspublic LifeGenerator(int width,
int height,
boolean[] data)
public LifeGenerator(java.lang.String path)
throws java.io.IOException
java.io.IOExceptionpublic LifeGenerator(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic LifeGenerator(java.awt.image.BufferedImage cellsData)
public void begin()
GeneratorGenerator.nextEvents() method to add elements to the graph.public boolean nextEvents()
Generatorpublic void setTore(boolean on)
public boolean isTore()
public void setPushCoords(boolean on)
public boolean isCoordsPushed()
public int getWidth()
public int getHeight()