[ 
https://issues.apache.org/jira/browse/PIVOT-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698115#action_12698115
 ] 

Todd Volkert commented on PIVOT-80:
-----------------------------------

I just went through the list of listeners in pivot.wtk, and here's what I'd 
suggest needs adapters in that package:

AccordionListener
AccordionSelectionListener
BorderListener
ButtonListener
CalendarListener
CardPaneListener
ComponentKeyListener
ComponentListener
ComponentMouseButtonListener
ComponentMouseListener
ComponentStateListener
ContainerMouseListener
DialogStateListener
ExpanderListener
FormListener
ListViewListener
ListViewItemListener
ListViewItemStateListener
ListViewSelectionListener
RollupStateListener
SheetStateListener
SpinnerItemListener
SpinnerListener
TablePaneListener
TableViewListener
TableViewRowListener
TableViewSelectionListener
TabPaneListener
TabPaneSelectionListener
TextAreaCharacterListener
TextAreaListener
TextInputCharacterListener
TextInputListener
TreeViewBranchListener
TreeViewListener
TreeViewNodeListener
TreeViewNodeStateListener
TreeViewSelectionListener
ViewportListener
WindowListener
WindowStateListener

Note that there were some listeners in that package that non-platform 
developers will definitely be interested in but contained only one method, so 
they seemed kinda pointless to create adapters for :)

I also think that the following non-wtk listener interfaces could use adapters 
as well:

pivot.collectionsListListener
pivot.collectionsMapListener
pivot.collectionsSetListener
pivot.web.QueryListener

Great idea to create them as static inner classes of the interfaces, btw.

Noel, I've actually already had occasion to write many of these for an app I 
wrote for a client -- you want me to take this, or have you already jumped on 
it?

> create adapter classes for listener interfaces
> ----------------------------------------------
>
>                 Key: PIVOT-80
>                 URL: https://issues.apache.org/jira/browse/PIVOT-80
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 1.1
>            Reporter: Noel Grandin
>            Priority: Minor
>
> Implement adapter classes for the listener interfaces.
> From Greg Brown:
>   I'd suggest making them static inner classes of the interface itself; e.g. 
> ListListener.Adapter. I'd also suggest that we don't need to do this for 
> every listener interface (some simply aren't likely to be of sufficient 
> interest to non-platform developers).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to