Class CloseEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class CloseEvent
    extends org.eclipse.swt.events.TypedEvent
    Instances of this class are sent as a result of widgets being closed.

    Note: The fields that are filled in depend on the widget.

    See Also:
    CloseListener, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean doit
      A flag indicating whether the operation should be allowed.
      private static long serialVersionUID  
      • Fields inherited from class org.eclipse.swt.events.TypedEvent

        data, display, time, widget
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseEvent​(org.eclipse.swt.widgets.Event e)
      Constructs a new instance of this class based on the information in the given untyped event.
    • Method Summary

      • Methods inherited from class org.eclipse.swt.events.TypedEvent

        toString
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

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

      • doit

        public boolean doit
        A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation, depending on the widget.
    • Constructor Detail

      • CloseEvent

        public CloseEvent​(org.eclipse.swt.widgets.Event e)
        Constructs a new instance of this class based on the information in the given untyped event.
        Parameters:
        e - the untyped event containing the information