* UiEvent dispatch proxy.
*/
public void onEventRecord(EventRecord data) {
final EventRecordDispatcher specialHandler = specialCasedTypeMap.get(data.getType());
if (specialHandler != null) {
specialHandler.onEventRecord(data);
} else if (UiEvent.isUiEvent(data)) {
onUiEventFinished(data.<UiEvent> cast());
}
}