Constructor and Description |
---|
PointLayer(Coord position,
String name,
Image icon)
Creates a Point Layer.
|
Modifier and Type | Method and Description |
---|---|
BoundingBox |
boundingBox()
The bounding box of this Layer
|
Image |
getIcon()
Gets the point Icon
|
String |
getName()
Gets the Point name
|
void |
paint(Graphics g,
Tile tile)
Paints the Layer on the given Graphics
|
void |
setDisplayName(boolean displayName)
This method declares if the point name should be displayed
|
void |
setIcon(Image icon)
Sets the display icon
|
String |
toString()
Returns a string representation of the object.
|
equals, getLatitude, getLongitude, hashCode, isProjected, setLatitude, setLongitude, setProjected, translate, translate
public String getName()
public Image getIcon()
public void setIcon(Image icon)
icon
- public void setDisplayName(boolean displayName)
displayName
- public String toString()
public BoundingBox boundingBox()
boundingBox
in interface Layer