Package spin.demo.progress
Interface ProgressBean
-
- All Known Implementing Classes:
ProgressBeanImpl
public interface ProgressBeanA common interface for a progress.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)Add a listener top property changes.voidcancel()Cancel the progress.doublegetStatus()Get the current status.voidstart()Start.
-
-
-
Method Detail
-
start
void start()
Start.
-
cancel
void cancel()
Cancel the progress.
-
getStatus
double getStatus()
Get the current status.- Returns:
- status of progress
-
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener top property changes.- Parameters:
listener- listener to add
-
-