Package spin.demo.progress
Class ProgressBeanImpl
java.lang.Object
spin.demo.progress.ProgressBeanImpl
- All Implemented Interfaces:
ProgressBean
Implementation of a progress.
-
Constructor Details
-
ProgressBeanImpl
public ProgressBeanImpl()Constructor.
-
-
Method Details
-
addPropertyChangeListener
Add a listener to property changes.- Specified by:
addPropertyChangeListenerin interfaceProgressBean- Parameters:
listener- listener to add
-
start
public void start()Start.- Specified by:
startin interfaceProgressBean
-
cancel
public void cancel()Cancel the progress.- Specified by:
cancelin interfaceProgressBean
-
getStatus
public double getStatus()Get the current status.- Specified by:
getStatusin interfaceProgressBean- Returns:
- status of progress
-