|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.event.ListenerSupport
com.bbn.openmap.event.ProjectionSupport
public class 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.ProjectionChangeNotifier
A thread that disperses the projection event, instead of letting the Swing thread do it. |
Field Summary | |
---|---|
protected ProjectionSupport.ProjectionChangeNotifier |
pcNotifier
|
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 |
dispose()
|
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 |
Field Detail |
---|
protected ProjectionSupport.ProjectionChangeNotifier pcNotifier
Constructor Detail |
---|
public ProjectionSupport()
public ProjectionSupport(java.lang.Object aSource)
aSource
- source ObjectMethod Detail |
---|
public void addProjectionListener(ProjectionListener l)
l
- ProjectionListenerpublic void removeProjectionListener(ProjectionListener l)
l
- ProjectionListenerpublic void fireProjectionChanged(Projection proj)
proj
- Projectionpublic void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |