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 possibleClassCastException
s.
-
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 possibleClassCastException
s. If anClassCastException
is thrown, null is returned.- Returns:
- the event in the desired type or null.
-