Package com.kheops.jmap.client.layers
Class RasterDataRequestedEvent
java.lang.Object
java.util.EventObject
com.kheops.jmap.client.JMapEvent
com.kheops.jmap.client.layers.LayerEvent
com.kheops.jmap.client.layers.LayerDataRequestedEvent
com.kheops.jmap.client.layers.RasterDataRequestedEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRasterDataRequestedEvent
(Object src, Layer layer, Rectangle bounds, int imageWidth, int imageHeight, boolean sync) Construct the RasterDataRequestedEvent instance -
Method Summary
Methods inherited from class com.kheops.jmap.client.layers.LayerDataRequestedEvent
isSync
Methods inherited from class com.kheops.jmap.client.layers.LayerEvent
getLayer, getLayerManager, setLayerManager, toString
Methods inherited from class com.kheops.jmap.client.JMapEvent
isCancelled, setCancelled
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
RasterDataRequestedEvent
public RasterDataRequestedEvent(Object src, Layer layer, Rectangle bounds, int imageWidth, int imageHeight, boolean sync) Construct the RasterDataRequestedEvent instance- Parameters:
src
- the source object of the eventlayer
- the layer associated with the eventbounds
- the bounding box of the data to be displayed in the requested image.imageWidth
- the width of the requested image.imageHeight
- the height of the requested image.
-
-
Method Details
-
getBounds
-
getImageHeight
public int getImageHeight() -
getImageWidth
public int getImageWidth() -
accept
- Specified by:
accept
in classLayerEvent
-