Class SelectionEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class SelectionEvent
    extends javax.swing.event.ChangeEvent
    Represents a geo-object selection event.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectionEvent​(Layer src, int type)
      Creates a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Layer getSource()  
      int getType()
      Returns the type of selection event
      void setType​(int type)
      Sets the type of selection event
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SelectionEvent

        public SelectionEvent​(Layer src,
                              int type)
        Creates a new instance
        Parameters:
        src - the layer that fired the event
        type - the type of selection event
    • Method Detail

      • getSource

        public Layer getSource()
        Overrides:
        getSource in class java.util.EventObject
      • setType

        public void setType​(int type)
        Sets the type of selection event
        Parameters:
        type -
      • getType

        public int getType()
        Returns the type of selection event
        Returns: