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:
java.io.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(java.lang.Object s)
          Constructor.
ALDConfigurationEvent(java.lang.Object s, java.lang.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

stepsize

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


stepwiseExecution

protected boolean stepwiseExecution
Flag for stepwise execution.

Constructor Detail

ALDConfigurationEvent

public ALDConfigurationEvent(java.lang.Object s)
Constructor.

Parameters:
s - Source object of the event.

ALDConfigurationEvent

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

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

disableStepwiseExecution

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


doStepwiseExecution

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


enableStepwiseExecution

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


getStepSize

public int getStepSize()
Return desired step size.


setStepsize

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

Parameters:
s - Stepsize.