org.eclipse.net4j.util.om.monitor
Class NotifyingMonitor.ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.net4j.util.event.Event
          extended by org.eclipse.net4j.util.om.monitor.NotifyingMonitor.ProgressEvent
All Implemented Interfaces:
Serializable, IEvent, OMMonitorProgress
Enclosing class:
NotifyingMonitor

public static class NotifyingMonitor.ProgressEvent
extends Event
implements OMMonitorProgress

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Fields inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgress
HUNDRED, ONE, TEN, ZERO
 
Constructor Summary
NotifyingMonitor.ProgressEvent(INotifier notifier, double totalWork, double work)
           
 
Method Summary
 String getTask()
           
 double getTotalWork()
           
 double getWork()
           
 double getWorkPercent()
           
 
Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotifyingMonitor.ProgressEvent

public NotifyingMonitor.ProgressEvent(INotifier notifier,
                                      double totalWork,
                                      double work)
Since:
3.2
Method Detail

getTask

public String getTask()

getTotalWork

public double getTotalWork()
Specified by:
getTotalWork in interface OMMonitorProgress

getWork

public double getWork()
Specified by:
getWork in interface OMMonitorProgress

getWorkPercent

public double getWorkPercent()
Specified by:
getWorkPercent in interface OMMonitorProgress


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.