Class PartDataChunk

java.lang.Object
jadex.micro.mandelbrot.model.PartDataChunk

public class PartDataChunk extends Object
  • Field Details

    • data

      protected short[] data
    • progress

      protected int progress
    • displayid

      protected String displayid
      The display id.
    • xstart

      protected int xstart
    • ystart

      protected int ystart
    • area

      protected Rectangle area
    • imagewidth

      protected int imagewidth
    • imageheight

      protected int imageheight
    • worker

      protected jadex.core.ComponentIdentifier worker
  • Constructor Details

    • PartDataChunk

      public PartDataChunk()
      Create a new result
      Parameters:
      data - The data.
    • PartDataChunk

      public PartDataChunk(int progress, short[] data, int xstart, int ystart, jadex.core.ComponentIdentifier worker)
      Create a new result
      Parameters:
      data - The data.
  • Method Details

    • getData

      public short[] getData()
      Returns:
      the data
    • setData

      public void setData(short[] data)
      Parameters:
      data - the data to set
    • getProgress

      public int getProgress()
      Returns:
      the progress
    • setProgress

      public void setProgress(int progress)
      Parameters:
      progress - the progress to set
    • getDisplayId

      public String getDisplayId()
      Returns:
      the displayid
    • setDisplayId

      public void setDisplayId(String displayid)
      Parameters:
      displayid - the displayid to set
    • getArea

      public Rectangle getArea()
      Returns:
      the area
    • setArea

      public void setArea(Rectangle area)
      Parameters:
      area - the area to set
    • getXStart

      public int getXStart()
      Returns:
      the xstart
    • setXStart

      public void setXStart(int xstart)
      Parameters:
      xstart - the xstart to set
    • getYStart

      public int getYStart()
      Returns:
      the ystart
    • setYStart

      public void setYStart(int ystart)
      Parameters:
      ystart - the ystart to set
    • getImageWidth

      public int getImageWidth()
      Returns:
      the imagewidth
    • setImageWidth

      public void setImageWidth(int imagewidth)
      Parameters:
      imagewidth - the imagewidth to set
    • getImageHeight

      public int getImageHeight()
      Returns:
      the imageheight
    • setImageHeight

      public void setImageHeight(int imageheight)
      Parameters:
      imageheight - the imageheight to set
    • getWorker

      public jadex.core.ComponentIdentifier getWorker()
      Returns:
      the worker
    • setWorker

      public void setWorker(jadex.core.ComponentIdentifier worker)
      Parameters:
      worker - the worker to set
    • toString

      public String toString()
      Overrides:
      toString in class Object