|| event.getTarget().getPropertyString("__eventBits") == null) {
focus();
}
}
ComponentEvent ce = createComponentEvent(event);
ce.event = event;
// browser event listeners can cancel event
if (hasBrowserListener && !fireEvent(Events.BrowserEvent, ce)) {
return;
}
// dom event type
ce.type = type;
if (ce.type == (GXT.isSafari && GXT.isMac ? Event.ONMOUSEDOWN : Event.ONMOUSEUP)
&& ce.isRightClick()) {
onRightClick(ce);
}
// specialized support for mouse overs
int t = ce.type;
if (overElements != null && (t == Event.ONMOUSEOVER || t == Event.ONMOUSEOUT)) {
El target = fly(ce.getTarget());
String id = target.getId();
if (id != null && overElements.containsKey(id)) {
String style = (String) overElements.get(id);
target.setStyleName(style, t == Event.ONMOUSEOVER);
}