public class CenterSupport extends ListenerSupport<CenterListener>
A center event is one that sets the center of a map by specifying latitude and longitude.
source
Constructor and Description |
---|
CenterSupport(java.lang.Object sourceBean) |
Modifier and Type | Method and Description |
---|---|
void |
fireCenter(double latitude,
double longitude)
Send a center event to all registered listeners.
|
add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size
public CenterSupport(java.lang.Object sourceBean)
sourceBean
- The bean to be given as the source for any
eventspublic void fireCenter(double latitude, double longitude)
latitude
- the latitudelongitude
- the longitudeCenterEvent
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details