public class ProjectionSupport extends ListenerSupport<ProjectionListener>
Modifier and Type | Class and Description |
---|---|
protected class |
ProjectionSupport.ProjectionChangeNotifier
A thread that disperses the projection event, instead of letting the
Swing thread do it.
|
Modifier and Type | Field and Description |
---|---|
protected ProjectionSupport.ProjectionChangeNotifier |
pcNotifier |
protected boolean |
useNotifier |
source
Constructor and Description |
---|
ProjectionSupport(boolean useNotifier)
Construct a ProjectionSupport.
|
ProjectionSupport(java.lang.Object aSource,
boolean useNotifier)
Construct a ProjectionSupport.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Call when getting rid of the ProjectionSupport, it kills the
ProjectionSupport thread.
|
void |
fireProjectionChanged(Projection proj)
Send a center event to all registered listeners.
|
add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size
protected ProjectionSupport.ProjectionChangeNotifier pcNotifier
protected boolean useNotifier
public ProjectionSupport(boolean useNotifier)
public ProjectionSupport(java.lang.Object aSource, boolean useNotifier)
aSource
- source Objectpublic void fireProjectionChanged(Projection proj)
proj
- Projectionpublic void dispose()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details