Utilities
Class PNGFactory
java.lang.Object
Utilities.PNGFactory
- All Implemented Interfaces:
- Factory
public class PNGFactory
- extends java.lang.Object
- implements Factory
- Author:
- David
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNGFactory
public PNGFactory(Landscape land)
- Creates a new instance of PNGfactory
main
public static void main(java.lang.String[] args)
make
public long make(Progress progress,
boolean dummyParameter)
- Specified by:
make in interface Factory
getDialog
public javax.swing.JDialog getDialog(javax.swing.JFrame owner)
- Specified by:
getDialog in interface Factory
getName
public java.lang.String getName()
- Specified by:
getName in interface Factory
setLandscape
public void setLandscape(Landscape newLandscape)
- Specified by:
setLandscape in interface Factory
setEngine
public void setEngine(NoiseEngine newEngine)
- Specified by:
setEngine in interface Factory
setFile
public void setFile(java.lang.String fileName)
- Specified by:
setFile in interface Factory
setFile
public void setFile(java.lang.String fileName,
java.lang.String type)
- Specified by:
setFile in interface Factory
getDimensions
public int getDimensions()
- Specified by:
getDimensions in interface Factory
save
public void save(java.io.ObjectOutputStream file)
throws java.io.IOException
- Specified by:
save in interface Factory
- Throws:
java.io.IOException
load
public void load(java.io.ObjectInputStream file)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
load in interface Factory
- Throws:
java.lang.ClassNotFoundException
java.io.IOException