public class ExtendedFocusEvent extends FocusEvent
FocusEvent extended with additional information.| Modifier and Type | Field and Description |
|---|---|
private boolean |
mouse
true if the focus event was caused by a mouse event. |
| Constructor and Description |
|---|
ExtendedFocusEvent(Widget source,
Widget other,
int id,
boolean mouse)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMouse()
Returns
true if the focus event was caused by a mouse event. |
void |
print(PrintHelper printer)
Print all class-specific fields.
|
dispatchconsume, id, isConsumed, merge, other, source, toStringpublic boolean isMouse()
true if the focus event was caused by a mouse event.isMouse in class FocusEventtrue if the focus event was caused by a mouse event.public void print(PrintHelper printer)
print in interface Printableprint in class FocusEventprinter - the string printer to print into