|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.earth.model.input.ModelLoader de.fhg.igd.earth.model.input.ModelCreator
This class is to create some primitive graphic objects (DEBUG). Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG
Field Summary |
Fields inherited from class de.fhg.igd.earth.model.input.ModelLoader |
datapath_ |
Constructor Summary | |
ModelCreator()
Creates an instance of this class. |
Method Summary | |
private void |
cEarth(ModelGraph model)
Creates a flat and a spherical earth. |
private void |
cGrid(ModelGraph model)
Creates a default grid. |
private void |
cText(ModelGraph model)
Creates a test string. |
private void |
cWorld(ModelGraph model)
Initializes the model. |
String |
getIdentName()
Returns the identName for this class (ModelCreator). |
boolean |
load(ModelGraph model,
Frame parent)
Overwrites the abstract load method in ModelLoader. |
boolean |
load(ModelGraph model,
String name)
Creates and loads a sub model (figure). |
Methods inherited from class de.fhg.igd.earth.model.input.ModelLoader |
setDatapath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelCreator()
Method Detail |
public String getIdentName()
getIdentName
in class ModelLoader
public boolean load(ModelGraph model, Frame parent)
load
in class ModelLoader
model
- Model to insert intoparent
- Parent frame
true
on success.public boolean load(ModelGraph model, String name)
model
- Model to insert intoname
- Name of the figure to create
true
on success.private void cEarth(ModelGraph model)
private void cWorld(ModelGraph model)
private void cGrid(ModelGraph model)
private void cText(ModelGraph model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |