public class

UngrabEvent

extends AWTEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ java.awt.AWTEvent
       ↳ sun.awt.UngrabEvent

Class Overview

Sent when one of the following events occur on the grabbed window:

  • it looses focus, but not to one of the owned windows
  • mouse click on the outside area happens (except for one of the owned windows)
  • switch to another application or desktop happens
  • click in the non-client area of the owning window or this window happens

Notice that this event is not generated on mouse click inside of the window area.

To listen for this event, install AWTEventListener with {@value sun.awt.SunToolkit#GRAB_EVENT_MASK}

Summary

[Expand]
Inherited Constants
From class java.awt.AWTEvent
[Expand]
Inherited Fields
From class java.awt.AWTEvent
From class java.util.EventObject
Public Constructors
UngrabEvent(Component source)
Public Methods
String toString()
Returns a String representation of this object.
[Expand]
Inherited Methods
From class java.awt.AWTEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public UngrabEvent (Component source)

Public Methods

public String toString ()

Returns a String representation of this object.

Returns
  • A a String representation of this EventObject.