public class AlgoEvent extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected Object | 
source
The algorithm object that threw this event 
 | 
protected String | 
status  | 
protected double | 
step  | 
protected double | 
total  | 
| Constructor and Description | 
|---|
AlgoEvent(Object source,
         double step,
         double total)
Creates a new AlgoEvent. 
 | 
AlgoEvent(Object source,
         String status)
Creates a new AlgoEvent. 
 | 
AlgoEvent(Object source,
         String status,
         double step,
         double total)
Creates a new AlgoEvent. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getCurrentProgress()  | 
double | 
getProgressRatio()  | 
Object | 
getSource()  | 
String | 
getStatus()  | 
double | 
getTotalProgress()  | 
protected Object source
protected String status
protected double step
protected double total
public AlgoEvent(Object source, String status, double step, double total)
source - the object generating the eventstatus - the status messagestep - the progression steptotal - the total amount of progression steppublic AlgoEvent(Object source, String status)
source - the object generating the eventstatus - the status messagepublic AlgoEvent(Object source, double step, double total)
source - the object generating the eventstep - the progression steptotal - the total amount of progression steppublic Object getSource()
public String getStatus()
public double getCurrentProgress()
public double getTotalProgress()
public double getProgressRatio()
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.