|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.proj.ProjectionStackSupport
public class ProjectionStackSupport
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.
| Constructor Summary | |
|---|---|
ProjectionStackSupport()
Construct a ProjectionStackSupport. |
|
| Method Summary | |
|---|---|
void |
add(ProjectionStackTrigger pt)
Add a ProjectionStackTrigger. |
void |
fireStackStatus(boolean enableBackProjections,
boolean enableForwardProjections)
Send a status to all registered triggers. |
java.util.ArrayList<ProjectionStackTrigger> |
getTriggers()
Return a cloned list of Triggers. |
void |
remove(ProjectionStackTrigger pt)
Remove a ProjectionStackTrigger. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectionStackSupport()
| Method Detail |
|---|
public void add(ProjectionStackTrigger pt)
pt - ProjectionStackTriggerpublic void remove(ProjectionStackTrigger pt)
pt - ProjectionStackTriggerpublic java.util.ArrayList<ProjectionStackTrigger> getTriggers()
public int size()
public void fireStackStatus(boolean enableBackProjections,
boolean enableForwardProjections)
enableBackProjections - there is at least one past
projection in the back cache.enableForwardProjections - there is at least one future
projection in the forward cache. Used when a past
projection is being used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||