List of usage examples for java.util EventListener interface-usage
From source file MyEvent.java
interface MyEventListener extends EventListener { public void myEventOccurred(MyEvent evt); } class MyClass { protected EventListenerList listenerList = new EventListenerList();
From source file TestEventSource.java
class TestEventListener implements EventListener { String id; public TestEventListener(String id) { this.id = id; }
From source file org.hupo.psi.mi.psicquic.view.webapp.ApplicationInitializer.java
/**
* Initializes the application.
*
* @author Bruno Aranda (baranda@ebi.ac.uk)
* @version $Id$
*/
From source file org.eredlab.g4.ccl.net.ProtocolCommandListener.java
/***
* There exists a large class of IETF protocols that work by sending an
* ASCII text command and arguments to a server, and then receiving an
* ASCII text reply. For debugging and other purposes, it is extremely
* useful to log or keep track of the contents of the protocol messages.
* The ProtocolCommandListener interface coupled with the
From source file org.eredlab.g4.ccl.net.io.CopyStreamListener.java
/**
* The CopyStreamListener class can accept CopyStreamEvents to keep track
* of the progress of a stream copying operation. However, it is currently
* not used that way within NetComponents for performance reasons. Rather
* the bytesTransferred(long, int) method is called directly rather than
* passing an event to bytesTransferred(CopyStreamEvent), saving the creation
From source file org.polymap.core.runtime.event.WeakListener.java
/** * * * @author <a href="http://www.polymap.de">Falko Brutigam</a> */ class WeakListener
From source file org.soaplab.services.events.EventManager.java
/**
* An inter-mediator between individual jobs and all event
* listeners. There is usually just one instance of this class for a
* particular service - and it is shared by all service's jobs. <p>
*
* When created, it first finds all available event listeners (using
From source file com.hs.mail.imap.event.EventTracker.java
/**
*
* @author Won Chul Doh
* @since Jul 30, 2010
*
*/
From source file Main.java
interface TimerListener extends EventListener { public void timeElapsed(TimerEvent evt); } class TimerComponent extends Component implements Runnable { private int interval;
From source file CustomEventPanel.java
interface TimerListener extends EventListener { public void timeElapsed(TimerEvent evt); } class TimerComponent extends Component implements Runnable { private int interval;