spin.demo.progress
Class ProgressBeanImpl

java.lang.Object
  extended by spin.demo.progress.ProgressBeanImpl
All Implemented Interfaces:
ProgressBean

public class ProgressBeanImpl
extends java.lang.Object
implements ProgressBean

Implementation of a progress.


Constructor Summary
ProgressBeanImpl()
          Constructor.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Add a listener to property changes.
 void cancel()
          Cancel the progress.
 double getStatus()
          Get the current status.
 void start()
          Start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressBeanImpl

public ProgressBeanImpl()
Constructor.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener to property changes.

Specified by:
addPropertyChangeListener in interface ProgressBean
Parameters:
listener - listener to add

start

public void start()
Start.

Specified by:
start in interface ProgressBean

cancel

public void cancel()
Cancel the progress.

Specified by:
cancel in interface ProgressBean

getStatus

public double getStatus()
Get the current status.

Specified by:
getStatus in interface ProgressBean
Returns:
status of progress


Copyright © 2007. All Rights Reserved.