com.supermap.ui
类 ObjectSelectedEvent

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

public class ObjectSelectedEvent
extends java.lang.Object

指示对象被选中的事件。

当三维场景窗口中的三维几何对象被选中后触发该事件。


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

构造方法详细信息

ObjectSelectedEvent

public ObjectSelectedEvent(java.lang.Object source,
                           int count)
根据给定的参数构造一个 ObjectSelectedEvent 类的新实例。

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

getCount

public int getCount()
返回被选中对象的个数。

返回:
被选中对象的个数。