Roger Whitcomb created PIVOT-941:
------------------------------------
Summary: Allow random access to ListenerList elements with a "get"
method
Key: PIVOT-941
URL: https://issues.apache.org/jira/browse/PIVOT-941
Project: Pivot
Issue Type: Improvement
Components: core-util
Affects Versions: 2.0.3
Environment: All
Reporter: Roger Whitcomb
Assignee: Roger Whitcomb
Priority: Trivial
Fix For: 2.0.4, 2.1
I'm finding that sometimes I need quick access to a particular listener (for
instance, the one I added to a component vs. the one added by the skin), and
for this instead of iterating through the list I would like to just get a
particular one. Most Java lists allow arbitrary access to a particular
element, so I propose adding a "get(int)" method to the ListenerList class that
returns the particular element (if it exists).
--
This message was sent by Atlassian JIRA
(v6.2#6252)