try {
switch (eventType) {
case EVENT_SHOW:
return show(skinObject, params);
case EVENT_HIDE:
return hide(skinObject, params);
case EVENT_SELECT:
return select(skinObject, params);
default:
return null;
}
} catch (Exception e) {
Debug.out("Skin Event " + NAMES[eventType] + " caused an error", e);
}
return null;