Package spin.demo.progress
Interface ProgressBean
-
- All Known Implementing Classes:
ProgressBeanImpl
public interface ProgressBean
A common interface for a progress.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener top property changes.void
cancel()
Cancel the progress.double
getStatus()
Get the current status.void
start()
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
-
-