You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2017/12/07 16:16:00 UTC

[jira] [Assigned] (PIVOT-884) Add support for dynamic construction of ListenerList

     [ https://issues.apache.org/jira/browse/PIVOT-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb reassigned PIVOT-884:
------------------------------------

    Assignee: Roger Whitcomb  (was: Sandro Martini)

> Add support for dynamic construction of ListenerList<CustomListener>
> --------------------------------------------------------------------
>
>                 Key: PIVOT-884
>                 URL: https://issues.apache.org/jira/browse/PIVOT-884
>             Project: Pivot
>          Issue Type: New Feature
>          Components: core-beans
>            Reporter: Karel Hübl
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.5
>
>         Attachments: Pivot-sample.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)