Class PaintListenerSupport

  extended by java.util.concurrent.CopyOnWriteArrayList<E>
      extended by com.bbn.openmap.event.ListenerSupport<PaintListener>
          extended by com.bbn.openmap.event.PaintListenerSupport
All Implemented Interfaces:, java.lang.Cloneable, java.lang.Iterable<PaintListener>, java.util.Collection<PaintListener>, java.util.List<PaintListener>, java.util.RandomAccess

public class PaintListenerSupport
extends ListenerSupport<PaintListener>

This is a utility class that can be used by beans that need support for handling PaintListeners and calling the PaintListener.paint() method. You can use an instance of this class as a member field of your bean and delegate work to it.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.bbn.openmap.event.ListenerSupport
Constructor Summary
          Construct a PaintListenerSupport.
PaintListenerSupport(java.lang.Object source)
          Construct a PaintListenerSupport.
Method Summary
 void paint(java.awt.Graphics graphics)
          Send a Paint event to all registered listeners.
Methods inherited from class com.bbn.openmap.event.ListenerSupport
add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
addAll, addAllAbsent, addIfAbsent, clone, contains, containsAll, equals, get, hashCode, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, listIterator, removeAll, retainAll, subList, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public PaintListenerSupport()
Construct a PaintListenerSupport.


public PaintListenerSupport(java.lang.Object source)
Construct a PaintListenerSupport.

source - source Object
Method Detail


public void paint(java.awt.Graphics graphics)
Send a Paint event to all registered listeners.

graphics - PaintEvent

Copyright (C) BBNT Solutions LLC; See for details