spin.demo.progress

Class ProgressBeanImpl

Implemented Interfaces:
ProgressBean

public class ProgressBeanImpl
extends java.lang.Object
implements ProgressBean

Implementation of a progress.

Constructor Summary

ProgressBeanImpl()
Constructor.

Method Summary

void
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes.
void
cancel()
Cancel the progress.
double
getStatus()
Get the current status.
void
start()
Start.

Constructor Details

ProgressBeanImpl

public ProgressBeanImpl()
Constructor.

Method Details

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes.
Parameters:
listener - listener to add

cancel

public void cancel()
Cancel the progress.

getStatus

public double getStatus()
Get the current status.
Returns:
status of progress

start

public void start()
Start.