You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Noel Grandin (JIRA)" <ji...@apache.org> on 2010/08/26 09:45:53 UTC
[jira] Commented: (PIVOT-611) add a method hasListener() in
ListenerList object
[ https://issues.apache.org/jira/browse/PIVOT-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902764#action_12902764 ]
Noel Grandin commented on PIVOT-611:
------------------------------------
public boolean contains(T t) {}
would be the appropriate method to add
> add a method hasListener() in ListenerList object
> -------------------------------------------------
>
> Key: PIVOT-611
> URL: https://issues.apache.org/jira/browse/PIVOT-611
> Project: Pivot
> Issue Type: Improvement
> Affects Versions: 1.5
> Reporter: A.J.
> Priority: Minor
>
> there is no easy way to determine wether a listener has already been added to a listener list (except by getting an iterator and traversing the list).
> it would be convenient to have 'hasListener' method in the ListenerList class that encapsulates this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.