Interface IEventFilter
-
- All Known Implementing Classes:
TextRegionEventFilter
public interface IEventFilterThis is an interface which helps to filter events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(IEventData data, EventType type)This method checks an event and decides whether it should be processed further (corresponds totruereturn value), or filtered out (corresponds tofalsereturn value).
-
-
-
Method Detail
-
accept
boolean accept(IEventData data, EventType type)
This method checks an event and decides whether it should be processed further (corresponds totruereturn value), or filtered out (corresponds tofalsereturn value).- Parameters:
data- event datatype- event type- Returns:
- true to process event further, false to filter event out
-
-