public class FocusEvent extends Event
Modifier and Type | Field and Description |
---|---|
private static boolean |
dispatchingFocus
Flag indicating focus notifications are being dispatched.
|
Constructor and Description |
---|
FocusEvent(Widget source,
int id)
Constructor.
|
FocusEvent(Widget source,
Widget other,
int id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(FocusListener listener)
Helper method which calls appropriate listeners' method depending on the
event type.
|
static boolean |
isDispatchingFocus()
Check the
dispatchingFocus state. |
private static boolean dispatchingFocus
public FocusEvent(Widget source, int id)
source
- Event source.id
- Event type ID.public static boolean isDispatchingFocus()
dispatchingFocus
state.public void dispatch(FocusListener listener)
listener
- Listener to which event will be passed.