|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.bloof.util.ProgressEvent
A semantic event which indicates that a progress occured. This event is generated by a component ( such as a Metrics ) when the component-specific event occurs ( e.g. 30% of the calculation is finished ). The event is passed to every every ProgrssListener object that registered to receive such events using the component's addProgressListener method. The object that implements the ProgressListener interface gets this ProgressEvent when the event occurs.
Constructor Summary | |
ProgressEvent()
Constructs an ProgressEvent with progess percentate = 0 and empty message |
|
ProgressEvent(java.lang.String aMessage)
Constructs an ProgressEvent with progess percentate = 0 |
|
ProgressEvent(java.lang.String aMessage,
int aPercentage)
Constructs an ProgressEvent |
Method Summary | |
java.lang.String |
getMessage()
Returns the message. |
int |
getPercentage()
Returns the percentage. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProgressEvent()
public ProgressEvent(java.lang.String aMessage)
aMessage
- Message of the Eventpublic ProgressEvent(java.lang.String aMessage, int aPercentage)
aMessage
- Message of the EventaPercentage
- Percentage of the Progress of the total ActionMethod Detail |
public java.lang.String getMessage()
public int getPercentage()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |