Version 2 (modified by wouter, 5 years ago) ( diff )

--

Listener

Maven include:

<dependency>
	<groupId>tudelft.utilities</groupId>
	<artifactId>listener</artifactId>
	<version>1.1.0</version>
</dependency>

available on

<repository>
	<id>artifactory.ewi.tudelft.nl</id>
	<url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
	<snapshots>
		<enabled>false</enabled>
	</snapshots>
</repository>

Listener contains standard Listener/Listenable functionality. It is parameterized by the TYPE of the objects shared by the Listener

A DefaultListenable is also available, which provides standard add/removeListner functionality and a notifyListeners call that catches and prints all exceptions caused by the notifyChange call to the listeners.

Note: See TracWiki for help on using the wiki.