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

org.deegree.graphics.optimizers
Class LabelChoiceFactory

java.lang.Object
  extended by org.deegree.graphics.optimizers.LabelChoiceFactory

public class LabelChoiceFactory
extends java.lang.Object

Factory for LabelChoice objects.

Version:
$Revision: 19328 $, $Date: 2009-08-26 09:07:46 +0200 (Mi, 26 Aug 2009) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
LabelChoiceFactory()
           
 
Method Summary
(package private) static java.util.ArrayList<LabelChoice> createLabelChoices(Curve curve, LabelDisplayElement element, java.awt.Graphics2D g, GeoTransform projection)
          Determines LabelChoices for the given Curve where a Label could be drawn.
(package private) static java.util.ArrayList<LabelChoice> createLabelChoices(LabelDisplayElement element, java.awt.Graphics2D g, GeoTransform projection)
          Determines LabelChoice candidates for the given LabelDisplayElement.
(package private) static java.util.ArrayList<LabelChoice> createLabelChoices(MultiCurve multiCurve, LabelDisplayElement element, java.awt.Graphics2D g, GeoTransform projection)
          Determines LabelChoice candidates for the given MultiCurve where a label could be drawn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelChoiceFactory

public LabelChoiceFactory()
Method Detail

createLabelChoices

static java.util.ArrayList<LabelChoice> createLabelChoices(LabelDisplayElement element,
                                                           java.awt.Graphics2D g,
                                                           GeoTransform projection)
Determines LabelChoice candidates for the given LabelDisplayElement.

Parameters:
element -
g -
projection -
Returns:
possible LabelChoices

createLabelChoices

static java.util.ArrayList<LabelChoice> createLabelChoices(MultiCurve multiCurve,
                                                           LabelDisplayElement element,
                                                           java.awt.Graphics2D g,
                                                           GeoTransform projection)
                                                    throws FilterEvaluationException
Determines LabelChoice candidates for the given MultiCurve where a label could be drawn.

Three candidates are generated:

Parameters:
multiCurve -
element -
g -
projection -
Returns:
ArrayList containing LabelChoice-objects
Throws:
FilterEvaluationException

createLabelChoices

static java.util.ArrayList<LabelChoice> createLabelChoices(Curve curve,
                                                           LabelDisplayElement element,
                                                           java.awt.Graphics2D g,
                                                           GeoTransform projection)
                                                    throws FilterEvaluationException
Determines LabelChoices for the given Curve where a Label could be drawn.

Three candidates are generated:

Parameters:
curve -
element -
g -
projection -
Returns:
ArrayList containing LabelChoice-objects
Throws:
FilterEvaluationException

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