blob: 52893f249af69796af190859f53b07b6968b9f90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package jrummikub.util;
/** Interface for classes that can generate parameterless events */
public interface IEvent {
/**
* Start to publish all events to a given listener
*
* @param listener
* target listener
*/
public Connection add(IListener listener);
/**
* Stop publishing events to a given listener
*
* @param listener
* target listener
*/
public void remove(IListener listener);
}
|