Interface IEventFilter
-
- All Known Implementing Classes:
TextRegionEventFilter
public interface IEventFilter
This is an interface which helps to filter events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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 Detail
-
accept
boolean 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).- Parameters:
data
- event datatype
- event type- Returns:
- true to process event further, false to filter event out
-
-