Do Transitions really need to be final?
zonski at googlemail.com
Fri Dec 16 23:25:57 PST 2011
Just wondering if there is a reason for the various transition classes
(FadeTransition, PathTransition, etc) being final? I'm guessing it's some
sort of performance thing but I can't really see it.
The reason I ask is because I just went to create a FadeTransition that
also implemented a custom interface (in my case EntryTranstion, which has a
setupBeforeAnimation method on it, and a few other things) and discovered I
I could also see it being useful to be able to extend transitions to form a
library of transition classes. I could use a factory, but it would seem
more inline with what's there if I could create a CircularPathTransition
that extended PathTransition, etc.
More information about the openjfx-dev