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/Event2.html | 319 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 doc/jrummikub/util/Event2.html (limited to 'doc/jrummikub/util/Event2.html') diff --git a/doc/jrummikub/util/Event2.html b/doc/jrummikub/util/Event2.html new file mode 100644 index 0000000..4d98f5a --- /dev/null +++ b/doc/jrummikub/util/Event2.html @@ -0,0 +1,319 @@ + + + + + + +Event2 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.util +
+Class Event2<T1,T2>

+
+java.lang.Object
+  extended by jrummikub.util.Event2<T1,T2>
+
+
+
Type Parameters:
T1 - type of the first event parameter
T2 - type of the second event parameter
+
+
All Implemented Interfaces:
IEvent2<T1,T2>
+
+
+
+
public class Event2<T1,T2>
extends java.lang.Object
implements IEvent2<T1,T2>
+ + +

+Simple single parameter event generator +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Event2() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Connectionadd(IListener2<T1,T2> listener) + +
+          Start to publish all events to a given listener
+ voidemit(T1 value1, + T2 value2) + +
+          Generate a single event
+ voidremove(IListener2<T1,T2> 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
+ +

+Event2

+
+public Event2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public Connection add(IListener2<T1,T2> listener)
+
+
Description copied from interface: IEvent2
+
Start to publish all events to a given listener +

+

+
Specified by:
add in interface IEvent2<T1,T2>
+
+
+
Parameters:
listener - target listener +
Returns:
a connection to remove the listener
+
+
+
+ +

+remove

+
+public void remove(IListener2<T1,T2> listener)
+
+
Description copied from interface: IEvent2
+
Stop publishing events to a given listener +

+

+
Specified by:
remove in interface IEvent2<T1,T2>
+
+
+
Parameters:
listener - target listener
+
+
+
+ +

+emit

+
+public void emit(T1 value1,
+                 T2 value2)
+
+
Generate a single event +

+

+
+
+
+
Parameters:
value1 - the first event parameter
value2 - the second event parameter
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3