Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Class EventListenerList

java.lang.Object
  extended by
org.eclipse.draw2d.EventListenerList

public final class EventListenerList
extends java.lang.Object

This class is intended for internal use only. TODO: If this is for internal use only, we should move it to the internal package.


Constructor Summary
EventListenerList ()
           
 
Method Summary
 void addListener (java.lang.Class c, java.lang.Object listener)
          Adds a listener of type c to the list.
 boolean containsListener (java.lang.Class c)
          Returns true if this list of listeners contains a listener of type c.
 java.util.Iterator getListeners (java.lang.Class listenerType)
          Returns an Iterator of all the listeners of type c.
 void removeListener (java.lang.Class c, java.lang.Object listener)
          Removes the first listener of the specified type by identity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListenerList

public EventListenerList()
Method Detail

addListener

public void addListener(java.lang.Class c,
                        java.lang.Object listener)
Adds a listener of type c to the list.

Parameters:
c - the class
listener - the listener

containsListener

public boolean containsListener(java.lang.Class c)
Returns true if this list of listeners contains a listener of type c.

Parameters:
c - the type
Returns:
whether this list contains a listener of type c

getListeners

public java.util.Iterator getListeners(java.lang.Class listenerType)
Returns an Iterator of all the listeners of type c.

Parameters:
listenerType - the type
Returns:
an Iterator of all the listeners of type c

removeListener

public void removeListener(java.lang.Class c,
                           java.lang.Object listener)
Removes the first listener of the specified type by identity.

Parameters:
c - the type
listener - the listener

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire