[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: EventFilter efficiency
From: "Markus KARG" <markus () headcrashing ! eu>
Date: 2015-12-23 9:13:34
Message-ID: 050b01d13d62$3356a220$9a03e660$ () eu
[Download RAW message or body]
I need to react upon two distinct EventTypes. There are two possibilities:
Adding two distinct event filters, each for its own event type, or add one
event filter for a family of event types, using a switch statement in
"application space" to filter for the right event. Certainly for an
application programmer it might be more nice to have one distinct filter per
event type, but I could imagine that having one common filter might reduce
the overhead for JavaFX's event management?
-Markus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic