}
}
}
protected static void onFocusEvent(final Widget widget, Event event) {
FocusEvent fevent = new FocusEvent() {
@Override
public Object getSource() {
return widget;
}
};
fevent.setNativeEvent(event);
List<FocusHandler> handlers = FOCUS_HANDLERS.get(widget);
if (handlers != null) {
for (FocusHandler handler : handlers) {
handler.onFocus(fevent);
}