Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
As a Pivot application developer I would like to have option to dynamically create ListenerList implementation to support my custom Listener interface. I do not want to implement for each application Listener interface event dispatching logic. I use custom Listener interfaces to enable property binding between my application model classes and Pivot components in BXML.
I implemented prototype of org.apache.pivot.util.listener.DynaListenerList class, which accepts Listener interface in constructor and provides event dispatcher in getEventDispatcher() method. Source will be attached, please consider this functionality in next Pivot release.