Package jadex.micro.mandelbrot.model
Class PartDataChunk
java.lang.Object
jadex.micro.mandelbrot.model.PartDataChunk
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new resultPartDataChunk(int progress, short[] data, int xstart, int ystart, jadex.core.ComponentIdentifier worker) Create a new result -
Method Summary
Modifier and TypeMethodDescriptiongetArea()short[]getData()intintintjadex.core.ComponentIdentifierintintvoidvoidsetData(short[] data) voidsetDisplayId(String displayid) voidsetImageHeight(int imageheight) voidsetImageWidth(int imagewidth) voidsetProgress(int progress) voidsetWorker(jadex.core.ComponentIdentifier worker) voidsetXStart(int xstart) voidsetYStart(int ystart) toString()
-
Field Details
-
data
protected short[] data -
progress
protected int progress -
displayid
The display id. -
xstart
protected int xstart -
ystart
protected int ystart -
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
- Returns:
- the displayid
-
setDisplayId
- Parameters:
displayid- the displayid to set
-
getArea
- Returns:
- the area
-
setArea
- 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
-