|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.bbn.openmap.event.ListenerSupport
|
+--com.bbn.openmap.event.ProjectionSupport
This is a utility class that can be used by beans that need support for handling ProjectionListeners and firing ProjectionEvents. You can use an instance of this class as a member field of your bean and delegate work to it.
| Nested Class Summary | |
protected class |
ProjectionSupport.ProjectionChangedRunnable
A Runnable class that disperses the projection, instead of letting the Swing thread do it. |
| Field Summary |
| Fields inherited from class com.bbn.openmap.event.ListenerSupport |
listeners, source |
| Constructor Summary | |
ProjectionSupport()
Construct a ProjectionSupport. |
|
ProjectionSupport(java.lang.Object aSource)
Construct a ProjectionSupport. |
|
| Method Summary | |
void |
addProjectionListener(ProjectionListener l)
Add a ProjectionListener. |
void |
fireProjectionChanged(Projection proj)
Send a center event to all registered listeners. |
void |
removeProjectionListener(ProjectionListener l)
Remove a ProjectionListener. |
| Methods inherited from class com.bbn.openmap.event.ListenerSupport |
addListener, getListeners, getSource, iterator, readObject, removeAll, removeListener, setSource, size, writeObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProjectionSupport()
public ProjectionSupport(java.lang.Object aSource)
aSource - source Object| Method Detail |
public void addProjectionListener(ProjectionListener l)
l - ProjectionListenerpublic void removeProjectionListener(ProjectionListener l)
l - ProjectionListenerpublic void fireProjectionChanged(Projection proj)
proj - Projection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||