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

+ +jrummikub.util +
+Class Event

+
+java.lang.Object
+  extended by jrummikub.util.Event
+
+
+
All Implemented Interfaces:
IEvent
+
+
+
+
public class Event
extends java.lang.Object
implements IEvent
+ + +

+Simple parameterless event generator +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Event() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Connectionadd(IListener listener) + +
+          Start to publish all events to a given listener
+ voidemit() + +
+          Generate a single event
+ voidremove(IListener 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
+ +

+Event

+
+public Event()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public Connection add(IListener listener)
+
+
Description copied from interface: IEvent
+
Start to publish all events to a given listener +

+

+
Specified by:
add in interface IEvent
+
+
+
Parameters:
listener - target listener +
Returns:
a connection to remove the listener
+
+
+
+ +

+remove

+
+public void remove(IListener listener)
+
+
Description copied from interface: IEvent
+
Stop publishing events to a given listener +

+

+
Specified by:
remove in interface IEvent
+
+
+
Parameters:
listener - target listener
+
+
+
+ +

+emit

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

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3