/** * Returns the according event ID for the given component. */ public static String event(SComponent component) { if (component instanceof SClickable) return ((SClickable)component).getEventTarget().getLowLevelEventId(); else return component.getLowLevelEventId(); }