|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.graphics.displayelements.DisplayElementFactory
public class DisplayElementFactory
Factory class for the different kinds of DisplayElements.
| Constructor Summary | |
|---|---|
DisplayElementFactory()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DisplayElementFactory()
| Method Detail |
|---|
public DisplayElement[] createDisplayElement(Object o,
UserStyle[] styles)
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException,
GeometryException,
PropertyPathResolvingException
o - styles -
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
GeometryException
PropertyPathResolvingException
public DisplayElement[] createDisplayElement(Object o,
UserStyle[] styles,
GetMap request)
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException,
GeometryException,
PropertyPathResolvingException
Feature or GridCoverage.
o - styles - request -
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
GeometryException
PropertyPathResolvingException
public static DisplayElement buildDisplayElement(Object o,
Symbolizer symbolizer)
throws IncompatibleGeometryTypeException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException,
GeometryException,
PropertyPathResolvingException
DisplayElement using the given Feature or GridCoverage and Symbolizer.
o - contains the geometry or raster information (Feature or GridCoverage)symbolizer - contains the drawing (style) information and selects the geometry property of the Feature
to be drawn
DisplayElement
IncompatibleGeometryTypeException - if the selected geometry of the Feature is not compatible with the
Symbolizer
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
GeometryException
PropertyPathResolvingException
public static DisplayElement buildDisplayElement(Object o)
throws IncompatibleGeometryTypeException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException,
GeometryException
DisplayElement using the given Feature or GridCoverage and the default
Symbolizer.
o - contains the geometry or raster information (Feature or GridCoverage)
DisplayElement
IncompatibleGeometryTypeException - if the selected geometry of the Feature is not compatible with the
Symbolizer
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
GeometryException
public static PointDisplayElement buildPointDisplayElement(Feature feature,
Geometry geom,
PointSymbolizer sym)
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException
PointDisplayElement using the given geometry and style information.
feature - associated feature (source of the geometry information)geom - geometry informationsym - style information
PointDisplayElement
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
public static LineStringDisplayElement buildLineStringDisplayElement(Feature feature,
Geometry geom,
LineSymbolizer sym)
throws IncompatibleGeometryTypeException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException,
GeometryException
LineStringDisplayElement using the given geometry and style information.
feature - associated feature (source of the geometry information)geom - geometry informationsym - style information
LineStringDisplayElement
IncompatibleGeometryTypeException - if the geometry property is not a Curve or MultiCurve
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
GeometryException
public static PolygonDisplayElement buildPolygonDisplayElement(Feature feature,
Geometry geom,
PolygonSymbolizer sym)
throws IncompatibleGeometryTypeException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException
PolygonDisplayElement using the given geometry and style information.
feature - associated feature (source of the geometry information)geom - geometry informationsym - style information
PolygonDisplayElement
IncompatibleGeometryTypeException - if the geometry property is not a Surface or MultiSurface
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
public static LabelDisplayElement buildLabelDisplayElement(Feature feature,
Geometry geom,
TextSymbolizer sym)
throws IncompatibleGeometryTypeException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException
LabelDisplayElement using the given geometry and style information.
feature - associated feature (source of the geometry information and label caption)geom - geometry informationsym - style information
LabelDisplayElement
IncompatibleGeometryTypeException - if the geometry property is not a Point, a Surface or
MultiSurface
ClassNotFoundException
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
public static RasterDisplayElement buildRasterDisplayElement(GridCoverage gc,
RasterSymbolizer sym)
RasterDisplayElement from the given GridCoverage.
gc - grid coverage (source of the raster data)sym - raster symbolizer
public static RasterDisplayElement buildRasterDisplayElement(GridCoverage gc,
RasterSymbolizer sym,
GetMap request)
gc - sym - request -
|
deegree 2.3 (2010/04/09 10:10 build-4-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