|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molwind.view.AbstractTile
org.molwind.chemical.view.ChemicalTile
public class ChemicalTile
ChemicalTile contains chemical entities and allows to visualize them.
| Constructor Summary | |
|---|---|
ChemicalTile(LayeredPosition position)
Creates a new tile containing chemical entities. |
|
| Method Summary | |
|---|---|
java.io.File |
getTempDir()
Get the TempDir value. |
java.lang.String |
getWorldName()
Get the WorldName value. |
void |
setTempDir(java.io.File newTempDir)
Set the TempDir value. |
void |
setWorldName(java.lang.String newWorldName)
Set the WorldName value. |
void |
writeTo(java.io.OutputStream output)
Writes the tile's image to the given output stream. |
| Methods inherited from class org.molwind.view.AbstractTile |
|---|
addEntities, getEmptyImage, getEntityCount, getEntityIterator, getImageType, getPosition, setImageType, setPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChemicalTile(LayeredPosition position)
position - the position of the tile| Method Detail |
|---|
public java.lang.String getWorldName()
public void setWorldName(java.lang.String newWorldName)
newWorldName - the new WorldName value
public java.io.File getTempDir()
throws java.io.IOException
java.io.IOException - is thrown upon i/o errorpublic void setTempDir(java.io.File newTempDir)
newTempDir - the new TempDir value
public void writeTo(java.io.OutputStream output)
throws java.io.IOException
writeTo in interface TilewriteTo in class AbstractTileoutput - the output stream
java.io.IOException - is thrown upon i/o error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||