com.bbn.openmap.gui
Class OverviewMapHandler.ControlledMapSupport

java.lang.Object
  extended by java.util.concurrent.CopyOnWriteArrayList<E>
      extended by com.bbn.openmap.event.ListenerSupport<MapBean>
          extended by com.bbn.openmap.gui.OverviewMapHandler.ControlledMapSupport
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<MapBean>, java.util.Collection<MapBean>, java.util.List<MapBean>, java.util.RandomAccess
Enclosing class:
OverviewMapHandler

public class OverviewMapHandler.ControlledMapSupport
extends ListenerSupport<MapBean>

Support for directing the setCenter and setScale calls to any MapBeans that care to be listening.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bbn.openmap.event.ListenerSupport
source
 
Constructor Summary
OverviewMapHandler.ControlledMapSupport(java.lang.Object aSource)
          Construct a ControlledMapSupport.
 
Method Summary
 void setCenter(java.awt.geom.Point2D llp)
          Set the center coordinates on all registered listeners.
 void setScale(float scale)
          Set the scale on 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

OverviewMapHandler.ControlledMapSupport

public OverviewMapHandler.ControlledMapSupport(java.lang.Object aSource)
Construct a ControlledMapSupport.

Parameters:
aSource - source Object
Method Detail

setCenter

public void setCenter(java.awt.geom.Point2D llp)
Set the center coordinates on all registered listeners.

Parameters:
llp - the new center point

setScale

public void setScale(float scale)
Set the scale on all registered listeners.

Parameters:
scale - the new scale


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details