|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.graphics.displayelements.DisplayElementFactory
Factory class for the different kinds of DisplayElements.
| Constructor Summary | |
DisplayElementFactory()
|
|
| Method Summary | |
static DisplayElement |
buildDisplayElement(java.lang.Object o)
Builds a DisplayElement using the given Feature or Raster and a default Symbolizer. |
static DisplayElement |
buildDisplayElement(java.lang.Object o,
Symbolizer symbolizer)
Builds a DisplayElement using the given Feature or raster and Symbolizer. |
static LabelDisplayElement |
buildLabelDisplayElement(Feature feature,
GM_Object gmObject,
TextSymbolizer sym)
Creates a LabelDisplayElement using the given geometry and style information. |
static LineStringDisplayElement |
buildLineStringDisplayElement(Feature feature,
GM_Object geom,
LineSymbolizer sym)
Creates a LineStringDisplayElement using the given geometry and style information. |
static PointDisplayElement |
buildPointDisplayElement(Feature feature,
GM_Object geom,
PointSymbolizer sym)
Creates a PointDisplayElement using the given geometry and style information. |
static PolygonDisplayElement |
buildPolygonDisplayElement(Feature feature,
GM_Object gmObject,
PolygonSymbolizer sym)
Creates a PolygonDisplayElement using the given geometry and style information. |
static RasterDisplayElement |
buildRasterDisplayElement(GC_GridCoverage gc,
RasterSymbolizer sym)
Creates a RasterDisplayElement from the submitted image. |
DisplayElement[] |
createDisplayElement(java.lang.Object o,
UserStyle[] styles)
returns the display elements associated to a feature |
| 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(java.lang.Object o,
UserStyle[] styles)
throws IncompatibleGeometryTypeException
IncompatibleGeometryTypeException
public static DisplayElement buildDisplayElement(java.lang.Object o,
Symbolizer symbolizer)
throws IncompatibleGeometryTypeException
o - contains the geometry or raster information (Feature or raster)symbolizer - contains the drawing (style) information and selects
the geometry property of the Feature to be drawn
IncompatibleGeometryTypeException - if the selected geometry of
the Feature is not compatible with the
Symbolizer
public static DisplayElement buildDisplayElement(java.lang.Object o)
throws IncompatibleGeometryTypeException
o - contains the geometry or raster information (Feature or raster)
IncompatibleGeometryTypeException - if the selected geometry of
the Feature is not compatible with the
Symbolizer
public static PointDisplayElement buildPointDisplayElement(Feature feature,
GM_Object geom,
PointSymbolizer sym)
feature - associated Featuregeom - geometry informationsym - style information
public static LineStringDisplayElement buildLineStringDisplayElement(Feature feature,
GM_Object geom,
LineSymbolizer sym)
throws IncompatibleGeometryTypeException
feature - associated Featuregeom - geometry informationsym - style information
IncompatibleGeometryTypeException - if the geometry property is not
a GM_Curve or a GM_MultiCurve
public static PolygonDisplayElement buildPolygonDisplayElement(Feature feature,
GM_Object gmObject,
PolygonSymbolizer sym)
throws IncompatibleGeometryTypeException
feature - associated FeaturegmObject - geometry informationsym - style information
IncompatibleGeometryTypeException - if the geometry property is not
a GM_Surface or a GM_MultiSurface
public static LabelDisplayElement buildLabelDisplayElement(Feature feature,
GM_Object gmObject,
TextSymbolizer sym)
throws IncompatibleGeometryTypeException
feature - Feature to be used (necessary for evaluation of
the label expression)gmObject - geometry informationsym - style information
IncompatibleGeometryTypeException - if the geometry property is not
a GM_Point, a GM_Surface or
GM_MultiSurface
public static RasterDisplayElement buildRasterDisplayElement(GC_GridCoverage gc,
RasterSymbolizer sym)
gc - grid coveragesym - raster symbolizer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||