From 670fcf2613f6db2a4bfdaa91ac9d90001a90359e Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:59:40 +0200 Subject: docs fertig und vorher repariert git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@232 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/util/Event1.html | 317 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 doc/jrummikub/util/Event1.html (limited to 'doc/jrummikub/util/Event1.html') diff --git a/doc/jrummikub/util/Event1.html b/doc/jrummikub/util/Event1.html new file mode 100644 index 0000000..cf2d329 --- /dev/null +++ b/doc/jrummikub/util/Event1.html @@ -0,0 +1,317 @@ + + + + + + +Event1 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.util +
+Class Event1<T>

+
+java.lang.Object
+  extended by jrummikub.util.Event1<T>
+
+
+
Type Parameters:
T - type of the event parameter
+
+
All Implemented Interfaces:
IEvent1<T>
+
+
+
+
public class Event1<T>
extends java.lang.Object
implements IEvent1<T>
+ + +

+Simple single parameter event generator +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Event1() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Connectionadd(IListener1<T> listener) + +
+          Start to publish all events to a given listener
+ voidemit(T value) + +
+          Generate a single event
+ voidremove(IListener1<T> listener) + +
+          Stop publishing events to a given listener
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Event1

+
+public Event1()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public Connection add(IListener1<T> listener)
+
+
Description copied from interface: IEvent1
+
Start to publish all events to a given listener +

+

+
Specified by:
add in interface IEvent1<T>
+
+
+
Parameters:
listener - target listener +
Returns:
a connection to remove the listener
+
+
+
+ +

+remove

+
+public void remove(IListener1<T> listener)
+
+
Description copied from interface: IEvent1
+
Stop publishing events to a given listener +

+

+
Specified by:
remove in interface IEvent1<T>
+
+
+
Parameters:
listener - target listener
+
+
+
+ +

+emit

+
+public void emit(T value)
+
+
Generate a single event +

+

+
+
+
+
Parameters:
value - the event parameter
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3