public class UTFGridClickInfo
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
UTFGridClickInfo(ClickType clickType,
MapPos clickPos,
Variant elementInfo,
Layer layer)
Constructs an UTFGridClickInfo object from a click position and grid element metadata.
|
UTFGridClickInfo(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
MapPos |
getClickPos()
Returns the click position.
|
ClickType |
getClickType()
Returns the click type.
|
static long |
getCPtr(UTFGridClickInfo obj) |
Variant |
getElementInfo()
Returns the info tag of the clicked element.
|
Layer |
getLayer()
Returns the clicked layer.
|
int |
hashCode()
Returns the hash value of this object.
|
public UTFGridClickInfo(long cPtr, boolean cMemoryOwn)
public UTFGridClickInfo(ClickType clickType, MapPos clickPos, Variant elementInfo, Layer layer)
clickType
- The click type (SINGLE, DUAL, etc)clickPos
- The click position in the coordinate system of the base projection.elementInfo
- The info tag of the element that was clicked.layer
- The layer on which the click was performed.public static long getCPtr(UTFGridClickInfo obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public ClickType getClickType()
public MapPos getClickPos()
public Variant getElementInfo()
public Layer getLayer()