|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.optimizers.AbstractOptimizer org.deegree.graphics.optimizers.OptimizerChain
public class OptimizerChain
Allows the chaining of Optimizer
s. Implements the Optimizer
interface as well.
Field Summary |
---|
Fields inherited from class org.deegree.graphics.optimizers.AbstractOptimizer |
---|
mapView, themes |
Constructor Summary | |
---|---|
OptimizerChain()
Creates an empty instance of OptimizerChain . |
|
OptimizerChain(Optimizer[] optimizers)
Constructs a new OptimizerChain that contains the given Optimizer instances. |
Method Summary | |
---|---|
void |
addOptimizer(Optimizer optimizer)
Appends an Optimizer to the end of the processing chain. |
void |
optimize(java.awt.Graphics2D g)
Performs the optimization for all contained Optimizer instances. |
Methods inherited from class org.deegree.graphics.optimizers.AbstractOptimizer |
---|
addTheme, setMapView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptimizerChain()
OptimizerChain
.
public OptimizerChain(Optimizer[] optimizers)
OptimizerChain
that contains the given Optimizer
instances.
optimizers
- Method Detail |
---|
public void addOptimizer(Optimizer optimizer)
Optimizer
to the end of the processing chain.
optimizer
- Optimizer
to be addedpublic void optimize(java.awt.Graphics2D g) throws java.lang.Exception
Optimizer
instances. Calls
Optimizer.optimize(Graphics2D)
for all contained Optimizer
instances. subsequently.
g
-
java.lang.Exception
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org