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 Fields |
From class
java.awt.AWTEvent
protected
boolean |
consumed |
Controls whether or not the event is sent back down to the peer once the
source has processed it - false means it's sent to the peer; true means
it's not. |
protected
int |
id |
The event's id.@serial |
|
From class
java.util.EventObject
protected
Object |
source |
The object on which the Event initially occurred. |
|
Public Methods |
String
|
toString()
Returns a String representation of this object.
|
[Expand]
Inherited Methods |
From class
java.awt.AWTEvent
void
|
consume()
Consumes this event, if this event can be consumed.
|
int
|
getID()
Returns the event type.
|
boolean
|
isConsumed()
Returns whether this event has been consumed.
|
String
|
paramString()
Returns a string representing the state of this Event .
|
void
|
setSource(Object newSource)
Retargets an event to a new source.
|
String
|
toString()
Returns a String representation of this object.
|
|
From class
java.util.EventObject
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
Public Methods
public
String
toString
()
Returns a String representation of this object.
Returns
- A a String representation of this EventObject.