de.fhg.igd.earth.model
Class ModelManager

java.lang.Object
  extended byde.fhg.igd.earth.model.ModelManager

public class ModelManager
extends Object

This class manages the model. It's the interface between the GUI and the model data. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel

Field Summary
private  ModelGraph model_
          The ModelGraph object (root)
 
Constructor Summary
ModelManager()
          Creates an instance of this class and generates an empty model.
 
Method Summary
 ModelGraph getModel()
          Returns the model.
 void reset()
          Generates an empty model.
 void setModel(ModelGraph model)
          Sets the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model_

private ModelGraph model_
The ModelGraph object (root)

Constructor Detail

ModelManager

public ModelManager()
Creates an instance of this class and generates an empty model.

Method Detail

reset

public void reset()
Generates an empty model.


getModel

public ModelGraph getModel()
Returns the model.

Returns:
ModelGraph

setModel

public void setModel(ModelGraph model)
Sets the model.

Parameters:
model - ModelGraph


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.