Package org.geotools.map
Class MessageDirectLayer
Object
Layer
DirectLayer
MessageDirectLayer
This is a simple watermark used to place a message (such as copyright information) onto a map.
- Author:
- Jody
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(Graphics2D graphics, MapContent map, MapViewport viewport) Draw layer contents onto screenDoes not contribute a bounding box to the map.Methods inherited from class Layer
addMapLayerListener, connectDataListener, dispose, finalize, fireMapLayerListenerLayerChanged, fireMapLayerListenerLayerDeselected, fireMapLayerListenerLayerHidden, fireMapLayerListenerLayerPreDispose, fireMapLayerListenerLayerSelected, fireMapLayerListenerLayerShown, getFeatureSource, getQuery, getStyle, getTitle, getUserData, isSelected, isVisible, preDispose, removeMapLayerListener, setSelected, setTitle, setVisible, toString
-
Field Details
-
X
Key used to store x position in getUserData().- See Also:
-
Y
Key used to store y position in getUserData()- See Also:
-
-
Constructor Details
-
MessageDirectLayer
-
-
Method Details
-
draw
Description copied from class:DirectLayer
Draw layer contents onto screen- Specified by:
draw
in classDirectLayer
- Parameters:
graphics
- Graphics to draw intomap
- Map being drawn; check map bounds and crsviewport
- Area to draw the map into; including screen area
-
getBounds
Does not contribute a bounding box to the map.
-