com.supermap.mapping.speech
Class POIInfo
- java.lang.Object
-
- com.supermap.mapping.speech.POIInfo
-
public class POIInfo extends java.lang.Object
POI information
-
-
Constructor Summary
Constructors Constructor and Description POIInfo(java.lang.String poiname, Point2D point2D)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
getIsSelected()
Gets whether it has been selectedjava.lang.String
getPoiname()
Gets POIU namesPoint2D
getPoint2D()
Returns POI coordinatesvoid
setPoiname(java.lang.String poiname)
Sets POI namesvoid
setPoint2D(Point2D point2D)
Sets POI coordinatesvoid
setSelected(boolean isSelected)
Sets whether to selectjava.lang.String
toString()
-
-
-
Constructor Detail
-
POIInfo
public POIInfo(java.lang.String poiname, Point2D point2D)
- Parameters:
poiname
- POI namespoint2D
- POI coordinates
-
-
Method Detail
-
setPoiname
public void setPoiname(java.lang.String poiname)
Sets POI names- Parameters:
poiname
- POI names
-
setPoint2D
public void setPoint2D(Point2D point2D)
Sets POI coordinates- Parameters:
point2D
- POI coordinate
-
setSelected
public void setSelected(boolean isSelected)
Sets whether to select- Parameters:
isSelected
- whether to select
-
getIsSelected
public boolean getIsSelected()
Gets whether it has been selected- Returns:
- Whether it is selected
-
getPoiname
public java.lang.String getPoiname()
Gets POIU names- Returns:
- POI name
-
getPoint2D
public Point2D getPoint2D()
Returns POI coordinates- Returns:
- POI coordinates
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-