public class

ModalityEvent

extends AWTEvent
implements ActiveEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ java.awt.AWTEvent
       ↳ sun.awt.ModalityEvent

Class Overview

Event object describing changes in AWT modality

Summary

Constants
int MODALITY_POPPED
int MODALITY_PUSHED
[Expand]
Inherited Constants
From class java.awt.AWTEvent
[Expand]
Inherited Fields
From class java.awt.AWTEvent
From class java.util.EventObject
Public Constructors
ModalityEvent(Object source, ModalityListener listener, int id)
Public Methods
void dispatch()
Dispatch the event to its target, listeners of the events source, or do whatever it is this event is supposed to do.
[Expand]
Inherited Methods
From class java.awt.AWTEvent
From class java.util.EventObject
From class java.lang.Object
From interface java.awt.ActiveEvent

Constants

public static final int MODALITY_POPPED

Constant Value: 1301 (0x00000515)

public static final int MODALITY_PUSHED

Constant Value: 1300 (0x00000514)

Public Constructors

public ModalityEvent (Object source, ModalityListener listener, int id)

Public Methods

public void dispatch ()

Dispatch the event to its target, listeners of the events source, or do whatever it is this event is supposed to do.