public class LifeGenerator extends BaseGenerator
| Constructor and Description |
|---|
LifeGenerator(BufferedImage cellsData) |
LifeGenerator(InputStream in) |
LifeGenerator(int width,
int height,
boolean[] data) |
LifeGenerator(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, addEdgeLabels, addNodeAttribute, addNodeLabels, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, setEdgeAttributesRange, setNodeAttributesRange, 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(String path) throws IOException
IOExceptionpublic LifeGenerator(InputStream in) throws IOException
IOExceptionpublic LifeGenerator(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()
Copyright © 2015. All rights reserved.