|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.displayelements.DisplayElement_Impl
org.deegree_impl.graphics.displayelements.RasterDisplayElement_Impl
Field Summary | |
protected Feature |
feature
|
private GC_GridCoverage |
gc
|
private RasterSymbolizer |
symbolizer
|
Constructor Summary | |
(package private) |
RasterDisplayElement_Impl(GC_GridCoverage gc)
Creates a new RasterDisplayElement_Impl object. |
(package private) |
RasterDisplayElement_Impl(GC_GridCoverage gc,
RasterSymbolizer symbolizer)
Creates a new RasterDisplayElement_Impl object. |
Method Summary | |
boolean |
doesScaleConstraintApply(double scale)
Returns if the DisplayElement should be painted at the current scale or not. |
java.lang.String |
getAssociateFeatureId()
returns the id of the feature that's associated with the DisplayElement |
Feature |
getFeature()
Returns the associated Feature. |
GC_GridCoverage |
getRaster()
returns the content of the RasterDisplayElement |
boolean |
isHighlighted()
returns if the DisplayElement is highlighted or not. |
boolean |
isSelected()
returns if the DisplayElement is selected or not |
void |
paint(java.awt.Graphics g,
GeoTransform projection)
renders the DisplayElement to the submitted graphic context |
void |
setHighlighted(boolean highlighted)
marks the DisplayElement as highlighted or not |
void |
setRaster(GC_GridCoverage gc)
sets the grid coverage that represents the content of the RasterDisplayElement |
void |
setSelected(boolean selected)
marks a DisplayElement as selected or not |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.graphics.displayelements.DisplayElement |
doesScaleConstraintApply, getAssociateFeatureId, getFeature, isHighlighted, isSelected, setHighlighted, setSelected |
Field Detail |
private RasterSymbolizer symbolizer
private GC_GridCoverage gc
protected Feature feature
Constructor Detail |
RasterDisplayElement_Impl(GC_GridCoverage gc)
gc
- rasterRasterDisplayElement_Impl(GC_GridCoverage gc, RasterSymbolizer symbolizer)
gc
- rastersymbolizer
- Method Detail |
public void paint(java.awt.Graphics g, GeoTransform projection)
paint
in interface DisplayElement
paint
in class DisplayElement_Impl
public GC_GridCoverage getRaster()
getRaster
in interface RasterDisplayElement
public void setRaster(GC_GridCoverage gc)
setRaster
in interface RasterDisplayElement
gc
- public Feature getFeature()
getFeature
in interface DisplayElement
public java.lang.String getAssociateFeatureId()
getAssociateFeatureId
in interface DisplayElement
public void setSelected(boolean selected)
setSelected
in interface DisplayElement
public boolean isSelected()
isSelected
in interface DisplayElement
public void setHighlighted(boolean highlighted)
setHighlighted
in interface DisplayElement
public boolean isHighlighted()
isHighlighted
in interface DisplayElement
public boolean doesScaleConstraintApply(double scale)
doesScaleConstraintApply
in interface DisplayElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |