public interface TimeBoundsProvider
Modifier and Type | Method and Description |
---|---|
void |
addTimeBoundsHandler(TimeBoundsHandler tbh)
The TimeBoundsProvider keep track of the handlers it needs to notify when
the bounds or activeness changes.
|
TimeBounds |
getTimeBounds()
A method called on the TimeBoundsProvider to retrieve the provider's time
bounds.
|
void |
handleTimeBounds(TimeBounds tb)
A method called on the TimeBoundsProvider to inform it of the overall
time bounds, in case some external time bounds values are being set by
another component and this provider wants to react to those bounds in
some way.
|
boolean |
isActive()
A query that can be made to the TimeBoundsProvider asking it if it is
active, and if it's time bounds should be considered.
|
void |
removeTimeBoundsHandler(TimeBoundsHandler tbh)
The TimeBoundsProvider keep track of the handlers it needs to notify when
the bounds or activeness changes.
|
void |
setActive(boolean active)
An accessor that switches the TimeBoundsProvider on/off.
|
TimeBounds getTimeBounds()
void handleTimeBounds(TimeBounds tb)
boolean isActive()
void setActive(boolean active)
void addTimeBoundsHandler(TimeBoundsHandler tbh)
void removeTimeBoundsHandler(TimeBoundsHandler tbh)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details