public class ExtentEvent extends FMapEvent
Event produced when the adjusted extent or the time of the view port have changed.
TODO: This class has to be renamed to ViewPortEvent.
Constructor and Description |
---|
ExtentEvent(Envelope envelope)
Creates a new extent event.
|
ExtentEvent(Time time)
Creates a new time event.
|
Modifier and Type | Method and Description |
---|---|
static ExtentEvent |
createExtentEvent(Envelope r)
Deprecated.
use the constructor
|
Envelope |
getNewExtent()
Gets the new adjusted event.
|
Time |
getNewTime()
Gets the new time event.
|
getEventType, setEventType
public ExtentEvent(Envelope envelope)
Creates a new extent event.
c
- the new adjusted extentpublic ExtentEvent(Time time)
Creates a new time event.
time
- the new timepublic static ExtentEvent createExtentEvent(Envelope r)
Returns a new extent event.
c
- the new adjusted extentpublic Envelope getNewExtent()
Gets the new adjusted event.
public Time getNewTime()
Gets the new time event.