blob: 3aa13ba31627773ea430632e9832eda7e1c3ecd0 (
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 void add(IListener listener);
/**
* Stop publishing events to a given listener
*
* @param listener
* target listener
*/
public void remove(IListener listener);
}
|