public class POIInfo
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
boolean |
getIsSelected()
获取是否已选择
|
java.lang.String |
getPoiname()
获取POI名称
|
Point2D |
getPoint2D()
返回POI坐标
|
void |
setPoiname(java.lang.String poiname)
设置POI名称
|
void |
setPoint2D(Point2D point2D)
设置POI坐标
|
void |
setSelected(boolean isSelected)
设置是否选择
|
java.lang.String |
toString() |
public POIInfo(java.lang.String poiname, Point2D point2D)
poiname
- POI名称point2D
- POI坐标public void setPoiname(java.lang.String poiname)
poiname
- POI名称public void setPoint2D(Point2D point2D)
point2D
- POI坐标public void setSelected(boolean isSelected)
isSelected
- 是否选择public boolean getIsSelected()
public java.lang.String getPoiname()
public Point2D getPoint2D()
public java.lang.String toString()
toString
在类中 java.lang.Object