net.sourceforge.cilib.simulator
Class ProgressEvent

java.lang.Object
  extended by net.sourceforge.cilib.simulator.ProgressEvent

public class ProgressEvent
extends Object

A progress event informs the listening party about the percentage complete of the simulation.

Author:
Edwin Peer

Constructor Summary
ProgressEvent(double percentage)
          Creates a new instance of ProgressEvent with a given completion percentage.
 
Method Summary
 double getPercentage()
          Accessor for the percentage completed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressEvent

public ProgressEvent(double percentage)
Creates a new instance of ProgressEvent with a given completion percentage.

Parameters:
percentage - The current percentage value.
Method Detail

getPercentage

public double getPercentage()
Accessor for the percentage completed.

Returns:
The percentage


Copyright © 2009 CIRG. All Rights Reserved.