Class EditEvent

  • All Implemented Interfaces:
    com.globalmentor.event.Event, com.globalmentor.event.TargetedEvent, GuiseEvent, java.io.Serializable

    public class EditEvent
    extends AbstractTargetedGuiseEvent
    An event indicating that coarse-grained editing occurred. The event target indicates the component that originally initiated the action.
    Author:
    Garret Wilson
    See Also:
    EditListener, Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      EditEvent​(java.lang.Object source)
      Source constructor.
      EditEvent​(java.lang.Object source, EditEvent editEvent)
      Copy constructor that specifies a different source.
      EditEvent​(java.lang.Object source, java.lang.Object target)
      Source and target constructor.
    • Method Summary

      • Methods inherited from class java.util.EventObject

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.globalmentor.event.Event

        getSource
    • Constructor Detail

      • EditEvent

        public EditEvent​(java.lang.Object source)
        Source constructor. The target will be set to be the same as the given source.
        Parameters:
        source - The object on which the event initially occurred.
        Throws:
        java.lang.NullPointerException - if the given source is null.
      • EditEvent

        public EditEvent​(java.lang.Object source,
                         java.lang.Object target)
        Source and target constructor.
        Parameters:
        source - The object on which the event initially occurred.
        target - The target of the event.
        Throws:
        java.lang.NullPointerException - if the given source and/or target is null.
      • EditEvent

        public EditEvent​(java.lang.Object source,
                         EditEvent editEvent)
        Copy constructor that specifies a different source.
        Parameters:
        source - The object on which the event initially occurred.
        editEvent - The event the properties of which will be copied.
        Throws:
        java.lang.NullPointerException - if the given source and/or event is null.