|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.micro.examples.mandelbrot.ProgressData
public class ProgressData
Object representing information about an ongoing calculation.
| Field Summary | |
|---|---|
protected Rectangle |
area
The area. |
protected boolean |
finished
The state (finished or not). |
protected int |
imageheight
The image height. |
protected int |
imagewidth
The image width. |
protected IComponentIdentifier |
providerid
The provider id. |
protected Object |
taskid
The task id. |
| Constructor Summary | |
|---|---|
ProgressData()
Bean constructor. |
|
ProgressData(IComponentIdentifier providerid,
Object taskid,
Rectangle area,
boolean finished,
int imagewidth,
int imageheight)
Create a new ProgressData. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Test if two objects are equal. |
Rectangle |
getArea()
Get the area. |
int |
getImageHeight()
Get the imageheight. |
int |
getImageWidth()
Get the imagewidth. |
IComponentIdentifier |
getProviderId()
Get the provider id. |
Object |
getTaskId()
Get the task id. |
int |
hashCode()
Calculate the hash code. |
boolean |
isFinished()
Check if calculation is finished. |
void |
setArea(Rectangle area)
Set the area. |
void |
setFinished(boolean finished)
Set the finished flag. |
void |
setImageHeight(int imageheight)
Set the imageheight. |
void |
setImageWidth(int imagewidth)
Set the imagewidth. |
void |
setProviderId(IComponentIdentifier providerid)
Set the provider id. |
void |
setTaskId(Object taskid)
Set the task id. |
String |
toString()
String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected IComponentIdentifier providerid
protected Object taskid
protected Rectangle area
protected int imagewidth
protected int imageheight
protected boolean finished
| Constructor Detail |
|---|
public ProgressData()
public ProgressData(IComponentIdentifier providerid,
Object taskid,
Rectangle area,
boolean finished,
int imagewidth,
int imageheight)
| Method Detail |
|---|
public IComponentIdentifier getProviderId()
public void setProviderId(IComponentIdentifier providerid)
public Object getTaskId()
public void setTaskId(Object taskid)
public Rectangle getArea()
public void setArea(Rectangle area)
public boolean isFinished()
public void setFinished(boolean finished)
public int getImageWidth()
public void setImageWidth(int imagewidth)
imagewidth - The imagewidth to set.public int getImageHeight()
public void setImageHeight(int imageheight)
imageheight - The imageheight to set.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||