ch.tatool.core.element.handler
Class TrialCountHandler

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.element.handler.TrialCountHandler
All Implemented Interfaces:
PropertyHolder, Node, ExecutionPhaseListener

public class TrialCountHandler
extends NodeImpl
implements ExecutionPhaseListener

Counts the number of executed trials TODO: split out the UI update into a separate handler


Constructor Summary
TrialCountHandler()
           
 
Method Summary
 String getStatusPanelId()
           
 int getTrialCounter()
           
 void processExecutionPhase(ExecutionContext context)
           
 void setStatusPanelId(String statusPanelId)
           
 void setTrialCounter(int trialCounter)
           
 
Methods inherited from class ch.tatool.core.element.NodeImpl
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent
 
Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.data.PropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 

Constructor Detail

TrialCountHandler

public TrialCountHandler()
Method Detail

processExecutionPhase

public void processExecutionPhase(ExecutionContext context)
Specified by:
processExecutionPhase in interface ExecutionPhaseListener

getStatusPanelId

public String getStatusPanelId()

setStatusPanelId

public void setStatusPanelId(String statusPanelId)

getTrialCounter

public int getTrialCounter()

setTrialCounter

public void setTrialCounter(int trialCounter)


Copyright © 2012. All Rights Reserved.