public final class EventCastUtil extends Object
Event to needed event class.public static <T extends org.zkoss.zk.ui.event.Event> T cast(org.zkoss.zk.ui.event.Event event,
Class<T> type)
If cast of event fails a IllegalArgumentException is thrown.
T - the generic type for the conversionevent - the event to converttype - the generic type to cast for the given eventIllegalArgumentException if cast failsCopyright © 2016 SAPERION AG. All rights reserved.