Interface IEventFilter
- All Known Implementing Classes:
-
TextRegionEventFilter
public interface IEventFilter
This is an interface which helps to filter events.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(IEventData data, EventType type) This method checks an event and decides whether it should be processed further (corresponds totrue
return value), or filtered out (corresponds tofalse
return value).
-
Method Details
-
accept
This method checks an event and decides whether it should be processed further (corresponds totrue
return value), or filtered out (corresponds tofalse
return value).- Parameters:
-
data
- event data -
type
- event type - Returns:
- true to process event further, false to filter event out
-