|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhg.igd.mapviewer.marker.AbstractMarker<T>
de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker
public class InstanceMarker
Instance marker painter.
Constructor Summary | |
---|---|
InstanceMarker()
|
Method Summary | |
---|---|
protected boolean |
applyStroke(Graphics2D g,
InstanceWaypoint context)
|
protected void |
areaReset()
Reset the marker areas. |
protected de.fhg.igd.mapviewer.marker.area.Area |
doPaintMarker(Graphics2D g,
InstanceWaypoint context,
org.jdesktop.swingx.mapviewer.PixelConverter converter,
int zoom,
int minX,
int minY,
int maxX,
int maxY,
Rectangle gBounds,
boolean calulateArea)
|
protected Color |
getBorderColor(InstanceWaypoint context)
|
protected de.fhg.igd.mapviewer.marker.Marker<? super InstanceWaypoint> |
getFallbackMarker(InstanceWaypoint context)
|
protected Stroke |
getLineStroke(InstanceWaypoint context)
Get the stroke for drawing lines. |
protected Color |
getPaintColor(InstanceWaypoint context)
|
protected de.fhg.igd.mapviewer.marker.area.Area |
paintGeometry(Graphics2D g,
CRSDefinition crsDefinition,
com.vividsolutions.jts.geom.Geometry geometry,
InstanceWaypoint context,
org.jdesktop.swingx.mapviewer.PixelConverter converter,
int zoom,
boolean singleGeometry,
Rectangle gBounds,
org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS,
boolean calculateArea)
Paint a geometry. |
protected de.fhg.igd.mapviewer.marker.area.Area |
paintLine(com.vividsolutions.jts.geom.LineString geometry,
Graphics2D g,
CRSDefinition crsDefinition,
InstanceWaypoint context,
org.jdesktop.swingx.mapviewer.PixelConverter converter,
int zoom,
org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS,
boolean calculateArea)
Paint a line string geometry. |
protected de.fhg.igd.mapviewer.marker.area.Area |
paintPoint(com.vividsolutions.jts.geom.Point geometry,
Graphics2D g,
CRSDefinition crsDefinition,
InstanceWaypoint context,
org.jdesktop.swingx.mapviewer.PixelConverter converter,
int zoom,
org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS,
boolean calculateArea)
Paint a point geometry. |
protected de.fhg.igd.mapviewer.marker.area.Area |
paintPolygon(com.vividsolutions.jts.geom.Polygon geometry,
Graphics2D g,
CRSDefinition crsDefinition,
InstanceWaypoint context,
org.jdesktop.swingx.mapviewer.PixelConverter converter,
int zoom,
org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS,
boolean calculateArea)
Paint a polygon geometry. |
void |
reset()
|
Methods inherited from class de.fhg.igd.mapviewer.marker.BoundingBoxMarker |
---|
applyFill, isToSmall, paintFallback, paintMarker |
Methods inherited from class de.fhg.igd.mapviewer.marker.AbstractMarker |
---|
getArea, paint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceMarker()
Method Detail |
---|
public void reset()
reset
in interface de.fhg.igd.mapviewer.marker.Marker<InstanceWaypoint>
reset
in class de.fhg.igd.mapviewer.marker.AbstractMarker<InstanceWaypoint>
AbstractMarker.reset()
protected void areaReset()
protected de.fhg.igd.mapviewer.marker.area.Area doPaintMarker(Graphics2D g, InstanceWaypoint context, org.jdesktop.swingx.mapviewer.PixelConverter converter, int zoom, int minX, int minY, int maxX, int maxY, Rectangle gBounds, boolean calulateArea)
doPaintMarker
in class de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
BoundingBoxMarker.doPaintMarker(Graphics2D, SelectableWaypoint,
PixelConverter, int, int, int, int, int, Rectangle, boolean)
protected de.fhg.igd.mapviewer.marker.area.Area paintGeometry(Graphics2D g, CRSDefinition crsDefinition, com.vividsolutions.jts.geom.Geometry geometry, InstanceWaypoint context, org.jdesktop.swingx.mapviewer.PixelConverter converter, int zoom, boolean singleGeometry, Rectangle gBounds, org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS, boolean calculateArea)
g
- the graphics to paint oncrsDefinition
- the CRS definition associated with the geometrygeometry
- the geometrycontext
- the contextconverter
- the pixel converterzoom
- the zoom levelsingleGeometry
- if this is the only geometry associated to the
markergBounds
- the graphics boundsmapCRS
- the map coordinate reference systemcalculateArea
- if the area representing the marker should be
calculated, if false
is given here the return
value is ignored and should be null
null
if nothing has been paintedprotected de.fhg.igd.mapviewer.marker.area.Area paintPoint(com.vividsolutions.jts.geom.Point geometry, Graphics2D g, CRSDefinition crsDefinition, InstanceWaypoint context, org.jdesktop.swingx.mapviewer.PixelConverter converter, int zoom, org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS, boolean calculateArea)
geometry
- the pointg
- the graphics object to paint oncrsDefinition
- the CRS definition associated to the geometrycontext
- the contextconverter
- the pixel converterzoom
- the zoom levelmapCRS
- the map coordinate reference systemcalculateArea
- if the area representing the marker should be
calculated, if false
is given here the return
value is ignored and should be null
null
if painting failedprotected de.fhg.igd.mapviewer.marker.area.Area paintPolygon(com.vividsolutions.jts.geom.Polygon geometry, Graphics2D g, CRSDefinition crsDefinition, InstanceWaypoint context, org.jdesktop.swingx.mapviewer.PixelConverter converter, int zoom, org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS, boolean calculateArea)
geometry
- the polygong
- the graphics object to paint oncrsDefinition
- the CRS definition associated to the geometrycontext
- the contextconverter
- the pixel converterzoom
- the zoom levelmapCRS
- the map coordinate reference systemcalculateArea
- if the area representing the marker should be
calculated, if false
is given here the return
value is ignored and should be null
null
if painting failedprotected de.fhg.igd.mapviewer.marker.area.Area paintLine(com.vividsolutions.jts.geom.LineString geometry, Graphics2D g, CRSDefinition crsDefinition, InstanceWaypoint context, org.jdesktop.swingx.mapviewer.PixelConverter converter, int zoom, org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS, boolean calculateArea)
geometry
- the line stringg
- the graphics object to paint oncrsDefinition
- the CRS definition associated to the geometrycontext
- the contextconverter
- the pixel converterzoom
- the zoom levelmapCRS
- the map coordinate reference systemcalculateArea
- if the area representing the marker should be
calculated, if false
is given here the return
value is ignored and should be null
null
if painting failedprotected de.fhg.igd.mapviewer.marker.Marker<? super InstanceWaypoint> getFallbackMarker(InstanceWaypoint context)
getFallbackMarker
in class de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
BoundingBoxMarker.getFallbackMarker(SelectableWaypoint)
protected Color getPaintColor(InstanceWaypoint context)
getPaintColor
in class de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
BoundingBoxMarker.getPaintColor(SelectableWaypoint)
protected Stroke getLineStroke(InstanceWaypoint context)
context
- the context
protected boolean applyStroke(Graphics2D g, InstanceWaypoint context)
applyStroke
in class de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
BoundingBoxMarker.applyStroke(Graphics2D, SelectableWaypoint)
protected Color getBorderColor(InstanceWaypoint context)
getBorderColor
in class de.fhg.igd.mapviewer.marker.BoundingBoxMarker<InstanceWaypoint>
BoundingBoxMarker.getBorderColor(SelectableWaypoint)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |