You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2012/12/21 10:51:12 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 ]

Sandro Martini reassigned PIVOT-884:
------------------------------------

    Assignee: 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: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
>
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira