Class PointLayer
java.lang.Object
com.codename1.maps.Coord
com.codename1.maps.layers.PointLayer
- All Implemented Interfaces:
Layer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bounding box of this Layerbooleanequals(java.lang.Object o) getIcon()Gets the point IcongetName()Gets the Point nameinthashCode()voidPaints the Layer on the given GraphicsvoidsetDisplayName(boolean displayName) This method declares if the point name should be displayedvoidSets the display icontoString()Methods inherited from class Coord
getLatitude, getLongitude, isProjected, setLatitude, setLongitude, setProjected, translate, translateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PointLayer
-
-
Method Details
-
getName
-
getIcon
Gets the point Icon
Returns
the point Icon
-
setIcon
Sets the display icon
Parameters
icon
-
setDisplayName
public void setDisplayName(boolean displayName) This method declares if the point name should be displayed
Parameters
displayName
-
equals
-
hashCode
-
paint
-
toString
-
boundingBox
The bounding box of this Layer
Returns
the Layer bounding box
- Specified by:
boundingBoxin interfaceLayer
-