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.
|
dispatch
consume, id, isConsumed, other, source, toString
public boolean isMouse()
true
if the focus event was caused by a mouse event.isMouse
in class FocusEvent
true
if the focus event was caused by a mouse event.public void print(PrintHelper printer)
print
in interface Printable
print
in class FocusEvent
printer
- the string printer to print into