com.supermap.mapping

Class GeometrySelectedEvent

  • java.lang.Object
    • java.util.EventObject
      • com.supermap.mapping.GeometrySelectedEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class GeometrySelectedEvent
    extends java.util.EventObject
    Indicates the event that the geometric object is selected.

    Occurs when the geometric objects are selected in the map window.

    This event occurs only in the UI operation such as mouse operation and the simulated UI operation such as the DoMouseDown method of the map. This event will not occur when operate Selecttion objects using codes.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getGeometryID()
      Returns the ID of the selected object.
      Layer getLayer()
      Returns the layer of the selected object.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getLayer

        public Layer getLayer()
        Returns the layer of the selected object.
        Returns:
        The layer of the selected object.
      • getGeometryID

        public int getGeometryID()
        Returns the ID of the selected object.
        Returns:
        The ID of the selected object.