View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Manage events when add, remove elements...
5    *
6    * @author Grégory Borelli
7    */
8   public interface GB_ListEventOwner
9   {
10  
11      /***
12       * Add a listener to receive {@link GB_ContentChangeEvent}.
13       *
14       * @param a_listener GB_ContentChangeListener -
15       */
16      void addContentChangeListener(
17              GB_ContentChangeListener a_listener);
18  
19      /***
20       * Remove a listener for ContentChangeEvent.
21       *
22       * @param a_listener GB_ContentChangeListener -
23       */
24      void removeContentChangeListener(
25              GB_ContentChangeListener a_listener);
26  
27  }