com.ontimize.util.gis.client.gui.render
Class OverlapRenderer

java.lang.Object
  extended by com.ontimize.util.gis.client.gui.render.BasicGisRenderer
      extended by com.ontimize.util.gis.client.gui.render.OverlapRenderer
All Implemented Interfaces:
IGisRenderer, GisConstants

public class OverlapRenderer
extends BasicGisRenderer
implements IGisRenderer, GisConstants


Field Summary
(package private)  java.awt.Color overlapColor
           
(package private)  float overlapLevel
           
(package private)  java.awt.Color xorColor
           
 
Fields inherited from class com.ontimize.util.gis.client.gui.render.BasicGisRenderer
actualExpr, cancelRender, clip, crs, cumN, cumO, cumulativeClipMillis, cumulativeMillis, cumulativeParsingTime, currentLayerAttr, DEBUG, defaultPolygonFillColor, draw, easyRaster, editionColor, exprValue, factory, fillColor, fillColorKey, fillOpacity, fillOpacityKey, fontFamilyKey, fontSizeKey, fontWeightKey, gcf, gcRenderer, GEOMETRY, gisViewer, grid, haloColorKey, haloDefinedKey, haloRadiusKey, highlightColor, hintsMap, iconKey, indexFTS, indexR, indexSymb, java2dHints, labelParamKey, lastParseTime, linePlacementKey, lineSymb, liteShape, markWKTKey, msN, msO, paintEdited, paintHighlight, paintPolygonsCumulativeTime, paintSelected, pointPlacementKey, pointSizeKey, pointSymb, polSymb, post, prev, prevLineWidthKey, prevParseTime, ptr, RASTER, renderers, rules, scaling, scalingKey, selectionColor, strBuilder, strokeColor, strokeColorKey, strokeDefinedKey, strokeOpacity, strokeOpacityKey, strokeWidth, strokeWidthKey, styleCache, symbs, tr, transform
 
Fields inherited from interface com.ontimize.util.gis.common.GisConstants
STR_APPLIED_FILTERS, STR_GEO_OBJECT_ID, STR_GEOMETRY, STR_RASTER
 
Constructor Summary
OverlapRenderer(IGisViewer gisViewer)
           
 
Method Summary
 void paintLine(java.awt.Graphics2D g2d, java.awt.Rectangle lineClip, java.awt.Shape lineShape, java.awt.Color lineColor, float lineOpacity, double lineWidth, java.util.Map<java.lang.String,java.lang.Object> recordValues, double scale)
          Paints a line element using the given parameters
protected  void paintPointFill(java.awt.Graphics2D g2d, int x, int y, int width, int height, java.awt.Shape pointShape, java.awt.Color fillColor, float fillOpacity, java.util.Map<java.lang.String,java.lang.Object> recordValues, double scale)
          Paints a point element fill with the given parameters
protected  void paintPointStroke(java.awt.Graphics2D g2d, int x, int y, int width, int height, java.awt.Shape pointShape, java.awt.Color strokeColor, double strokeWidth, float strokeOpacity, java.util.Map recordValues, double scale)
          Paints a point element stroke with the given parameters
 void paintPolygonFill(java.awt.Graphics2D g2d, java.awt.Rectangle polygonClip, java.awt.Shape polygonShape, java.awt.Color fillColor, float fillOpacity, java.util.Map<java.lang.String,java.lang.Object> recordValues, double scale)
          Paints a filled polygon element with the given paramters
 void paintPolygonStroke(java.awt.Graphics2D g2d, java.awt.Rectangle polygonClip, java.awt.Shape polygonShape, java.awt.Color strokeColor, double strokeWidth, float strokeOpacity, java.util.Map<java.lang.String,java.lang.Object> recordValues, double scale)
          Paints a polygon element stroke with the given paramters
 
Methods inherited from class com.ontimize.util.gis.client.gui.render.BasicGisRenderer
byteArrayToBufferedImage, cancelRenderProcess, clearRendererCache, evaluateFilter, getAffineTransform, getEditionColor, getHighlightColor, getSelectionColor, isEdited, isHightlighted, isSelected, log, paint, paint, paintEdition, paintGridCoverage, paintIcon, paintLine, paintLine, paintLine, paintPoint, paintPolygon, paintPolygon, paintPolygon, paintRaster, paintRaster, paintSelection, paintSelectionM, paintText, paintVectorialData, setEditionColor, setHighlightColor, setSelectionColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ontimize.util.gis.client.gui.render.IGisRenderer
cancelRenderProcess, clearRendererCache, getEditionColor, getHighlightColor, getSelectionColor, isEdited, isHightlighted, isSelected, paint, paint, paintEdition, paintSelection, setEditionColor, setHighlightColor, setSelectionColor
 

Field Detail

overlapColor

java.awt.Color overlapColor

xorColor

java.awt.Color xorColor

overlapLevel

float overlapLevel
Constructor Detail

OverlapRenderer

public OverlapRenderer(IGisViewer gisViewer)
Method Detail

paintPolygonFill

public void paintPolygonFill(java.awt.Graphics2D g2d,
                             java.awt.Rectangle polygonClip,
                             java.awt.Shape polygonShape,
                             java.awt.Color fillColor,
                             float fillOpacity,
                             java.util.Map<java.lang.String,java.lang.Object> recordValues,
                             double scale)
Description copied from class: BasicGisRenderer
Paints a filled polygon element with the given paramters

Overrides:
paintPolygonFill in class BasicGisRenderer
Parameters:
g2d - Map viewer graphics
polygonClip - Polygon clipping area
polygonShape - Element shape
fillColor - Fill color
fillOpacity - fill opacity
recordValues - Element register values
scale - Map viewer scale in map units per pixel

paintPolygonStroke

public void paintPolygonStroke(java.awt.Graphics2D g2d,
                               java.awt.Rectangle polygonClip,
                               java.awt.Shape polygonShape,
                               java.awt.Color strokeColor,
                               double strokeWidth,
                               float strokeOpacity,
                               java.util.Map<java.lang.String,java.lang.Object> recordValues,
                               double scale)
Description copied from class: BasicGisRenderer
Paints a polygon element stroke with the given paramters

Overrides:
paintPolygonStroke in class BasicGisRenderer
Parameters:
g2d - Map viewer graphics
polygonClip - Polygon clipping area
polygonShape - Element shape
strokeColor - Stroke color
strokeWidth - Stroke width in pixels
strokeOpacity - Stroke opacity
recordValues - Element register values
scale - Map viewer scale in map units per pixel

paintPointFill

protected void paintPointFill(java.awt.Graphics2D g2d,
                              int x,
                              int y,
                              int width,
                              int height,
                              java.awt.Shape pointShape,
                              java.awt.Color fillColor,
                              float fillOpacity,
                              java.util.Map<java.lang.String,java.lang.Object> recordValues,
                              double scale)
Description copied from class: BasicGisRenderer
Paints a point element fill with the given parameters

Overrides:
paintPointFill in class BasicGisRenderer
Parameters:
g2d - Map viewer graphics
x - Clipping area upper-left point x coordinate
y - Clipping area upper-left point y coordinate
width - Clipping area width
height - Clipping area height
pointShape - Element shape
fillColor - Fill color
fillOpacity - Fill opacity
recordValues - Element register values
scale - Map viewer scale in map units per pixel

paintPointStroke

protected void paintPointStroke(java.awt.Graphics2D g2d,
                                int x,
                                int y,
                                int width,
                                int height,
                                java.awt.Shape pointShape,
                                java.awt.Color strokeColor,
                                double strokeWidth,
                                float strokeOpacity,
                                java.util.Map recordValues,
                                double scale)
Description copied from class: BasicGisRenderer
Paints a point element stroke with the given parameters

Overrides:
paintPointStroke in class BasicGisRenderer
Parameters:
g2d - Map viewer graphics
x - Clipping area upper-left point x coordinate
y - Clipping area upper-left point y coordinate
width - Clipping area width
height - Clipping area height
pointShape - Element shape
strokeColor - Stroke color
strokeWidth - Stroke width in pixels
strokeOpacity - Stroke opacity
recordValues - Element register values
scale - Map viewer scale in map units per pixel

paintLine

public void paintLine(java.awt.Graphics2D g2d,
                      java.awt.Rectangle lineClip,
                      java.awt.Shape lineShape,
                      java.awt.Color lineColor,
                      float lineOpacity,
                      double lineWidth,
                      java.util.Map<java.lang.String,java.lang.Object> recordValues,
                      double scale)
Description copied from class: BasicGisRenderer
Paints a line element using the given parameters

Overrides:
paintLine in class BasicGisRenderer
Parameters:
g2d - Map viewer graphics
lineClip - Line element clip area
lineShape - Element shape
lineColor - Line stroke color
lineOpacity - Line stroke opacity
lineWidth - Line stroke width
recordValues - Element record values
scale - Map viewer scale in map units per pixel