|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fraid.graphics.ModelFactory
public class ModelFactory
A singleton which finds the appropriate model according to the name or XML descripption passed.
Constructor Summary | |
---|---|
ModelFactory()
|
Method Summary | |
---|---|
static java.lang.Object |
getModel(java.lang.String aModelName)
The method which does the job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelFactory()
Method Detail |
---|
public static java.lang.Object getModel(java.lang.String aModelName) throws java.io.FileNotFoundException
aModelName
- a file name in the settings directory,
a model class name or XML serialized class. See _plot in the examples.
Object
value
java.io.FileNotFoundException
Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |