Package jadex.micro.examples.mandelbrot
Class ProgressData
- java.lang.Object
- 
- jadex.micro.examples.mandelbrot.ProgressData
 
- 
 public class ProgressData extends java.lang.ObjectObject representing information about an ongoing calculation.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.awt.RectangleareaThe area.protected java.lang.StringdisplayidThe display id.protected booleanfinishedThe state (finished or not).protected intimageheightThe image height.protected intimagewidthThe image width.protected IComponentIdentifierprovideridThe provider id.protected java.lang.ObjecttaskidThe task id.
 - 
Constructor SummaryConstructors Constructor Description ProgressData()Bean constructor.ProgressData(IComponentIdentifier providerid, java.lang.Object taskid, java.awt.Rectangle area, boolean finished, int imagewidth, int imageheight, java.lang.String displayid)Create a new ProgressData.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test if two objects are equal.java.awt.RectanglegetArea()Get the area.java.lang.StringgetDisplayId()Get the displayid.intgetImageHeight()Get the imageheight.intgetImageWidth()Get the imagewidth.IComponentIdentifiergetProviderId()Get the provider id.java.lang.ObjectgetTaskId()Get the task id.inthashCode()Calculate the hash code.booleanisFinished()Check if calculation is finished.voidsetArea(java.awt.Rectangle area)Set the area.voidsetDisplayId(java.lang.String displayid)Set the displayid.voidsetFinished(boolean finished)Set the finished flag.voidsetImageHeight(int imageheight)Set the imageheight.voidsetImageWidth(int imagewidth)Set the imagewidth.voidsetProviderId(IComponentIdentifier providerid)Set the provider id.voidsetTaskId(java.lang.Object taskid)Set the task id.java.lang.StringtoString()String representation.
 
- 
- 
- 
Field Detail- 
provideridprotected IComponentIdentifier providerid The provider id.
 - 
taskidprotected java.lang.Object taskid The task id.
 - 
areaprotected java.awt.Rectangle area The area.
 - 
imagewidthprotected int imagewidth The image width.
 - 
imageheightprotected int imageheight The image height.
 - 
finishedprotected boolean finished The state (finished or not).
 - 
displayidprotected java.lang.String displayid The display id.
 
- 
 - 
Constructor Detail- 
ProgressDatapublic ProgressData() Bean constructor.
 - 
ProgressDatapublic ProgressData(IComponentIdentifier providerid, java.lang.Object taskid, java.awt.Rectangle area, boolean finished, int imagewidth, int imageheight, java.lang.String displayid) Create a new ProgressData.
 
- 
 - 
Method Detail- 
getProviderIdpublic IComponentIdentifier getProviderId() Get the provider id.
 - 
setProviderIdpublic void setProviderId(IComponentIdentifier providerid) Set the provider id.
 - 
getTaskIdpublic java.lang.Object getTaskId() Get the task id.
 - 
setTaskIdpublic void setTaskId(java.lang.Object taskid) Set the task id.
 - 
getAreapublic java.awt.Rectangle getArea() Get the area.
 - 
setAreapublic void setArea(java.awt.Rectangle area) Set the area.
 - 
isFinishedpublic boolean isFinished() Check if calculation is finished.
 - 
setFinishedpublic void setFinished(boolean finished) Set the finished flag.
 - 
getImageWidthpublic int getImageWidth() Get the imagewidth.- Returns:
- the imagewidth.
 
 - 
setImageWidthpublic void setImageWidth(int imagewidth) Set the imagewidth.- Parameters:
- imagewidth- The imagewidth to set.
 
 - 
getImageHeightpublic int getImageHeight() Get the imageheight.- Returns:
- the imageheight.
 
 - 
setImageHeightpublic void setImageHeight(int imageheight) Set the imageheight.- Parameters:
- imageheight- The imageheight to set.
 
 - 
getDisplayIdpublic java.lang.String getDisplayId() Get the displayid.- Returns:
- the displayid.
 
 - 
setDisplayIdpublic void setDisplayId(java.lang.String displayid) Set the displayid.- Parameters:
- displayid- The displayid to set.
 
 - 
hashCodepublic int hashCode() Calculate the hash code.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if two objects are equal.- Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() String representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-