Class ProgressBeanImpl

  • All Implemented Interfaces:
    ProgressBean

    public class ProgressBeanImpl
    extends java.lang.Object
    implements ProgressBean
    Implementation of a progress.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressBeanImpl()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
      Add a listener to property changes.
      void cancel()
      Cancel the progress.
      double getStatus()
      Get the current status.
      void start()
      Start.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressBeanImpl

        public ProgressBeanImpl()
        Constructor.
    • Method Detail

      • addPropertyChangeListener

        public void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Add a listener to property changes.
        Specified by:
        addPropertyChangeListener in interface ProgressBean
        Parameters:
        listener - listener to add
      • cancel

        public void cancel()
        Cancel the progress.
        Specified by:
        cancel in interface ProgressBean
      • getStatus

        public double getStatus()
        Get the current status.
        Specified by:
        getStatus in interface ProgressBean
        Returns:
        status of progress