Fixed Issue 100; Plastered PInputEventFilter with Unit Tests and then made it consider the masks conditionally.
andMask if it's non-zero
notMask if it's non-zero
orMask if it's not ALL_MODIFIERS (I can't think of a case where you might want to say, "Only allow events as long as they have a modifier, I don't care which one")
1 parent 1169254 commit ccc91f100f76a857219656c8e10bebabc2ca9197
@Allain Lalonde Allain Lalonde authored on 18 Jul 2009
Showing 2 changed files
View
core/src/main/java/edu/umd/cs/piccolo/event/PInputEventFilter.java
View
core/src/test/java/edu/umd/cs/piccolo/event/PInputEventFilterTest.java