pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel Grandin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIVOT-611) add a method hasListener() in ListenerList object
Date Thu, 26 Aug 2010 07:45:53 GMT

    [ 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.


Mime
View raw message