spin.demo.progress

Interface ProgressBean

public interface ProgressBean

A common interface for a progress.

Method Summary

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

Method Details

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a listener top 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.