Class RasterDataRequestedEvent

All Implemented Interfaces:
Serializable

public class RasterDataRequestedEvent extends LayerDataRequestedEvent
See Also:
  • 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 event
      layer - the layer associated with the event
      bounds - 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

      public Rectangle getBounds()
    • getImageHeight

      public int getImageHeight()
    • getImageWidth

      public int getImageWidth()
    • accept

      public void accept(LayerEventDispatcher visitor)
      Specified by:
      accept in class LayerEvent