|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
MapBoundsEvent
public class MapBoundsEvent
Event object for MapContext area of interest and coordinate system changes.
modules/library/render (gt-render.jar)
Field Summary | |
---|---|
static int |
AREA_OF_INTEREST_MASK
Area of interest changed |
static int |
COORDINATE_SYSTEM_MASK
Coordinate system changed |
Fields inherited from class EventObject |
---|
source |
Constructor Summary | |
---|---|
MapBoundsEvent(MapContext source,
int type,
ReferencedEnvelope oldAreaOfInterest,
ReferencedEnvelope newAreaOfInterest)
Creates a new instance of BoundsEvent |
Method Summary | |
---|---|
ReferencedEnvelope |
getNewAreaOfInterest()
Get the new area of interest |
CoordinateReferenceSystem |
getNewCoordinateReferenceSystem()
Get the new coordinate reference system. |
ReferencedEnvelope |
getOldAreaOfInterest()
Get the old area of interest |
CoordinateReferenceSystem |
getOldCoordinateReferenceSystem()
Get the previous coordinate reference system. |
int |
getType()
Getter for property type. |
Methods inherited from class EventObject |
---|
getSource, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int AREA_OF_INTEREST_MASK
public static final int COORDINATE_SYSTEM_MASK
Constructor Detail |
---|
public MapBoundsEvent(MapContext source, int type, ReferencedEnvelope oldAreaOfInterest, ReferencedEnvelope newAreaOfInterest)
source
- the map context reporting the changetype
- the type of change indicated by one or both of the bit masks
AREA_OF_INTEREST_MASK and COORDINATE_SYSTEM_MASKoldAreaOfInterest
- the context's previous area of interestnewAreaOfInterest
- the context's new area of interest
IllegalArgumentException
- if type is invalidMethod Detail |
---|
public int getType()
public CoordinateReferenceSystem getOldCoordinateReferenceSystem()
public CoordinateReferenceSystem getNewCoordinateReferenceSystem()
public ReferencedEnvelope getOldAreaOfInterest()
public ReferencedEnvelope getNewAreaOfInterest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |