Class NotifyingMonitor.ProgressEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.net4j.util.event.Event
-
- org.eclipse.net4j.util.om.monitor.NotifyingMonitor.ProgressEvent
-
- All Implemented Interfaces:
java.io.Serializable
,IEvent
,OMMonitorProgress
- Enclosing class:
- NotifyingMonitor
public static class NotifyingMonitor.ProgressEvent extends Event implements OMMonitorProgress
- Author:
- Eike Stepper
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgress
HUNDRED, ONE, TEN, ZERO
-
-
Constructor Summary
Constructors Constructor Description ProgressEvent(INotifier notifier, double totalWork, double work)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTask()
double
getTotalWork()
double
getWork()
double
getWorkPercent()
-
Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, formatEventName, getSource, toString
-
-
-
-
Constructor Detail
-
ProgressEvent
public ProgressEvent(INotifier notifier, double totalWork, double work)
- Since:
- 3.2
-
-
Method Detail
-
getTask
public java.lang.String getTask()
-
getTotalWork
public double getTotalWork()
- Specified by:
getTotalWork
in interfaceOMMonitorProgress
-
getWork
public double getWork()
- Specified by:
getWork
in interfaceOMMonitorProgress
-
getWorkPercent
public double getWorkPercent()
- Specified by:
getWorkPercent
in interfaceOMMonitorProgress
-
-