Package com.saperion.ngc.events
Class EventConv<T>
java.lang.Object
com.saperion.ngc.events.EventConv<T>
- Type Parameters:
T- Destination event type for the event type conversion.
- Author:
- rbo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Returns the event in the desired type and catches possibleClassCastExceptions.
-
Constructor Details
-
EventConv
public EventConv(org.zkoss.zk.ui.event.Event event) Constructor.- Parameters:
event- Event
-
-
Method Details
-
get
- Returns:
- Event
-
getSafely
Returns the event in the desired type and catches possibleClassCastExceptions. If anClassCastExceptionis thrown, null is returned.- Returns:
- the event in the desired type or null.
-