Class EventConv<T>

java.lang.Object
com.saperion.ngc.events.EventConv<T>
Type Parameters:
T - Destination event type for the event type conversion.

public class EventConv<T> extends Object
Author:
rbo
  • Constructor Details

    • EventConv

      public EventConv(org.zkoss.zk.ui.event.Event event)
      Constructor.
      Parameters:
      event - Event
  • Method Details

    • get

      public T get()
      Returns:
      Event
    • getSafely

      public T getSafely()
      Returns the event in the desired type and catches possible ClassCastExceptions. If an ClassCastException is thrown, null is returned.
      Returns:
      the event in the desired type or null.