deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.optimizers
Class AbstractOptimizer

java.lang.Object
  extended by org.deegree.graphics.optimizers.AbstractOptimizer
All Implemented Interfaces:
Optimizer
Direct Known Subclasses:
LabelOptimizer, OptimizerChain

public abstract class AbstractOptimizer
extends java.lang.Object
implements Optimizer

Abstract base class for Optimizer implementations.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
protected  MapView mapView
          Associated MapView instance.
protected  java.util.Set<Theme> themes
          Contains all registered Themes.
 
Constructor Summary
AbstractOptimizer()
           
 
Method Summary
 void addTheme(Theme theme)
          Adds a Theme to be considered by this Optimizer.
 void setMapView(MapView mapView)
          Sets the associated MapView instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.graphics.optimizers.Optimizer
optimize
 

Field Detail

themes

protected java.util.Set<Theme> themes
Contains all registered Themes.


mapView

protected MapView mapView
Associated MapView instance.

Constructor Detail

AbstractOptimizer

public AbstractOptimizer()
Method Detail

setMapView

public void setMapView(MapView mapView)
Description copied from interface: Optimizer
Sets the associated MapView instance. This is needed to provide scale and projection information. Called by the MapView.

Specified by:
setMapView in interface Optimizer
Parameters:
mapView - MapView instance to associate with this Optimizer

addTheme

public void addTheme(Theme theme)
Description copied from interface: Optimizer
Adds a Theme to be considered by this Optimizer.

Specified by:
addTheme in interface Optimizer
Parameters:
theme - Theme to be considered

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org