|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.molwind.model.AbstractMolwindWorld org.molwind.chemical.model.ChemicalWorld
public class ChemicalWorld
ChemicalWorld represents a world of chemicals.
Constructor Summary | |
---|---|
ChemicalWorld(java.lang.String worldName)
Creates a new chemical world. |
|
ChemicalWorld(java.lang.String worldName,
java.io.File file)
Creates a new chemical world. |
Method Summary | |
---|---|
void |
addFile(java.io.File file)
Adds the file to this chemical world. |
java.util.Iterator |
getEntityIterator()
Returns an iterator over the world's entities. |
TileGenerator |
getTileGenerator()
Returns an instance of a tile generator. |
Methods inherited from class org.molwind.model.AbstractMolwindWorld |
---|
getName, getRelationshipResolver, getTopologyManager, setName, setRelationshipResolver, setTopologyManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChemicalWorld(java.lang.String worldName, java.io.File file)
worldName
- the name of the worldfile
- molecule data read from an SDFilepublic ChemicalWorld(java.lang.String worldName)
worldName
- the name of the worldMethod Detail |
---|
public void addFile(java.io.File file)
file
- molecule data read from an SDFilepublic java.util.Iterator getEntityIterator()
getEntityIterator
in interface MolwindWorld
getEntityIterator
in class AbstractMolwindWorld
public TileGenerator getTileGenerator()
getTileGenerator
in interface MolwindWorld
getTileGenerator
in class AbstractMolwindWorld
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |