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:
addPropertyChangeListener
in interfaceProgressBean
- Parameters:
listener
- listener to add
-
start
public void start()Start.- Specified by:
start
in interfaceProgressBean
-
cancel
public void cancel()Cancel the progress.- Specified by:
cancel
in interfaceProgressBean
-
getStatus
public double getStatus()Get the current status.- Specified by:
getStatus
in interfaceProgressBean
- Returns:
- status of progress
-