com.supermap.ui
类 GeometrySelectedEvent

java.lang.Object
  继承者 com.supermap.ui.GeometrySelectedEvent

public class GeometrySelectedEvent
extends java.lang.Object

指示几何对象被选中的事件。

当地图窗口中的几何对象被选中后触发该事件。

该事件只在 UI 操作(如鼠标操作)或模拟 UI 操作(如 Map 的 DoMouseDown 方法等)时触发,使用代码操作 Selecttion 将不会触发该事件。


构造方法摘要
GeometrySelectedEvent(java.lang.Object source, int count)
          根据指定的参数初始化 GeometrySelectedEvent 的新实例。
 
方法摘要
 int getCount()
          返回指定的选中的几何对象的个数。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GeometrySelectedEvent

public GeometrySelectedEvent(java.lang.Object source,
                             int count)
根据指定的参数初始化 GeometrySelectedEvent 的新实例。

参数:
source - 发起事件的对象。
count - 指定的选中的几何对象的个数。
方法详细信息

getCount

public int getCount()
返回指定的选中的几何对象的个数。

返回:
指定的选中的几何对象的个数。