de.fhg.igd.earth.view
Class Projector

java.lang.Object
  extended byde.fhg.igd.earth.view.Projector
Direct Known Subclasses:
InfoProjector, JavaProjector, PropertiesProjector, TreeProjector

public abstract class Projector
extends Object

This is an abstract class representing a projector. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel

Field Summary
protected  JComponent container_
          GUI
protected  int containerHeight_
          GUI
protected  int containerWidth_
          GUI
protected  Boolean enabled_
          Status of the projector
protected  boolean firstTime_
          first time flag
protected  ModelGraph model_
          The ModelGraph object (root)
protected  ProjectorManager projectorManager_
          link to the manager
 
Constructor Summary
Projector(JComponent container)
          Creates an instance of this class
 
Method Summary
abstract  void delete()
          deletes this projector
abstract  String getIdentName()
          Returns the ident name
 void resizeContainer(int x, int y)
          GUI
 void resizePanelEvent(JComponent container)
          GUI (resize event)
 void setModel(ModelGraph model)
          Sets the model
 void setProjectorManager(ProjectorManager projectorManager)
          Sets the projector manager
abstract  void update()
          updates the projector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabled_

protected Boolean enabled_
Status of the projector


model_

protected ModelGraph model_
The ModelGraph object (root)


container_

protected JComponent container_
GUI


containerWidth_

protected int containerWidth_
GUI


containerHeight_

protected int containerHeight_
GUI


projectorManager_

protected ProjectorManager projectorManager_
link to the manager


firstTime_

protected boolean firstTime_
first time flag

Constructor Detail

Projector

public Projector(JComponent container)
Creates an instance of this class

Method Detail

setProjectorManager

public void setProjectorManager(ProjectorManager projectorManager)
Sets the projector manager

Parameters:
projectorManager -

resizePanelEvent

public void resizePanelEvent(JComponent container)
GUI (resize event)


resizeContainer

public void resizeContainer(int x,
                            int y)
GUI


getIdentName

public abstract String getIdentName()
Returns the ident name

Returns:
ident name

setModel

public void setModel(ModelGraph model)
Sets the model

Parameters:
model -

update

public abstract void update()
updates the projector


delete

public abstract void delete()
deletes this projector



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.