net.mlw.fball.event
Class ProgressEvent

java.lang.Object
  |
  +--net.mlw.fball.event.ProgressEvent
All Implemented Interfaces:
Event

public class ProgressEvent
extends java.lang.Object
implements Event

Version:
$Revision: 1.3 $ $Date: 2004/03/19 21:44:31 $
Author:
Matthew L. Wilson

Constructor Summary
ProgressEvent(int total)
           
ProgressEvent(int total, int current)
           
 
Method Summary
 int getCurrent()
           
 int getTotal()
           
 boolean isNew()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgressEvent

public ProgressEvent(int total)
Parameters:
total -

ProgressEvent

public ProgressEvent(int total,
                     int current)
Parameters:
current -
total -
Method Detail

isNew

public boolean isNew()

getCurrent

public int getCurrent()
Returns:
Returns the current.

getTotal

public int getTotal()
Returns:
Returns the total.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2003-2004 mlavilson. All Rights Reserved.