org.android.activityminer.logic.util
Class ProgressSignalingComponent

Package class diagram package ProgressSignalingComponent
java.lang.Object
  extended by org.android.activityminer.logic.util.ProgressSignalingComponent

public class ProgressSignalingComponent
extends Object

Base class for progress per sample signaling components.


Field Summary
private  ProgressListener listener
          The progress listener for model training progress notifications.
 
Constructor Summary
ProgressSignalingComponent()
          Constructor
 
Method Summary
protected  ProgressListener getListener()
          Getter for the progress listener
protected  void publishProgress(int progressIncrement)
          Does publish the increment of progress to a listener.
protected  void setListener(ProgressListener listener)
          Setter for the progress listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

private ProgressListener listener
The progress listener for model training progress notifications.

Constructor Detail

ProgressSignalingComponent

public ProgressSignalingComponent()
Constructor

Method Detail

setListener

protected final void setListener(ProgressListener listener)
Setter for the progress listener

Parameters:
listener - the progress listener to set

getListener

protected final ProgressListener getListener()
Getter for the progress listener

Returns:
the progress listener

publishProgress

protected final void publishProgress(int progressIncrement)
Does publish the increment of progress to a listener.

Parameters:
progressIncrement - the progress increment