|
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.displayelements.AbstractDisplayElement org.deegree.graphics.displayelements.RasterDisplayElement
public class RasterDisplayElement
Field Summary |
---|
Fields inherited from class org.deegree.graphics.displayelements.AbstractDisplayElement |
---|
feature |
Constructor Summary | |
---|---|
RasterDisplayElement(GridCoverage gc)
Creates a new RasterDisplayElement_Impl object. |
|
RasterDisplayElement(GridCoverage gc,
RasterSymbolizer symbolizer)
Creates a new RasterDisplayElement_Impl object. |
|
RasterDisplayElement(GridCoverage gc,
RasterSymbolizer symbolizer,
GetMap request)
|
Method Summary | |
---|---|
boolean |
doesScaleConstraintApply(double scale)
Returns whether the DisplayElement should be painted at the current scale or not. |
GridCoverage |
getRaster()
returns the content of the RasterDisplayElement |
void |
paint(java.awt.Graphics g,
GeoTransform projection,
double scale)
renders the DisplayElement to the submitted graphic context |
void |
setRaster(GridCoverage gc)
sets the grid coverage that represents the content of the RasterDisplayElement |
Methods inherited from class org.deegree.graphics.displayelements.AbstractDisplayElement |
---|
getAssociateFeatureId, getFeature, isHighlighted, isSelected, setFeature, setHighlighted, setSelected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
RasterDisplayElement(GridCoverage gc)
gc
- rasterRasterDisplayElement(GridCoverage gc, RasterSymbolizer symbolizer)
gc
- rastersymbolizer
- RasterDisplayElement(GridCoverage gc, RasterSymbolizer symbolizer, GetMap request)
Method Detail |
---|
public void paint(java.awt.Graphics g, GeoTransform projection, double scale)
g
- graphics context to render topublic GridCoverage getRaster()
RasterDisplayElement
public void setRaster(GridCoverage gc)
RasterDisplayElement
gc
- public boolean doesScaleConstraintApply(double scale)
AbstractDisplayElement
DisplayElement
should be painted at the current scale or not.
doesScaleConstraintApply
in interface DisplayElement
doesScaleConstraintApply
in class AbstractDisplayElement
scale
- scale to check
DisplayElement
has to be painted, false otherwise
|
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