cast Handler
Casts the given event to the type of event this filter accepts, then gets the handler object from the event.
If there is no handler object available for the given event, or the handler object is null, this method will return null.
Return
the handler object
Parameters
event
the event to get the handler object from
Throws
if the given event is not of the required type for this filter