de.unihalle.informatik.Alida.operator.events
Class ALDConfigurationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.unihalle.informatik.Alida.operator.events.ALDEvent
          extended by de.unihalle.informatik.Alida.operator.events.ALDConfigurationEvent
All Implemented Interfaces:
Serializable

public class ALDConfigurationEvent
extends ALDEvent

Event type to configure operator execution.

Author:
moeller
See Also:
Serialized Form

Field Summary
protected  int stepsize
          Size of one step in step-wise execution mode.
protected  boolean stepwiseExecution
          Flag for stepwise execution.
 
Fields inherited from class de.unihalle.informatik.Alida.operator.events.ALDEvent
eventMessage
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ALDConfigurationEvent(Object s)
          Constructor.
ALDConfigurationEvent(Object s, String msg)
          Constructor with message.
 
Method Summary
 void disableStepwiseExecution()
          Reset flag for step-wise execution.
 boolean doStepwiseExecution()
          Return flag for step-wise execution.
 void enableStepwiseExecution()
          Set flag for step-wise execution.
 int getStepSize()
          Return desired step size.
 void setStepsize(int s)
          Set size of steps in step-wise operator execution.
 
Methods inherited from class de.unihalle.informatik.Alida.operator.events.ALDEvent
getEventMessage, getEventMessage
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stepwiseExecution

protected boolean stepwiseExecution
Flag for stepwise execution.


stepsize

protected int stepsize
Size of one step in step-wise execution mode.

Constructor Detail

ALDConfigurationEvent

public ALDConfigurationEvent(Object s)
Constructor.

Parameters:
s - Source object of the event.

ALDConfigurationEvent

public ALDConfigurationEvent(Object s,
                             String msg)
Constructor with message.

Parameters:
s - Source object of the event.
msg - Freely configurable message.
Method Detail

setStepsize

public void setStepsize(int s)
Set size of steps in step-wise operator execution.

Parameters:
s - Stepsize.

getStepSize

public int getStepSize()
Return desired step size.


enableStepwiseExecution

public void enableStepwiseExecution()
Set flag for step-wise execution.


disableStepwiseExecution

public void disableStepwiseExecution()
Reset flag for step-wise execution.


doStepwiseExecution

public boolean doStepwiseExecution()
Return flag for step-wise execution.



Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.