de.unihalle.informatik.Alida.batch
Class ALDBatchOutputManagerSwing

java.lang.Object
  extended by de.unihalle.informatik.Alida.batch.ALDBatchOutputManager
      extended by de.unihalle.informatik.Alida.batch.ALDBatchOutputManagerSwing

public class ALDBatchOutputManagerSwing
extends ALDBatchOutputManager

This class implements a DataIO manager for summarizing batch results in the context of graphical user interfaces.

For data summary, it essentially looks up the correct provider for GUI-based summaries using the method of its super class and invokes its method.

It does its work in collaboration with ALDBatchOutputSummarizer.

Author:
moeller

Nested Class Summary
static class ALDBatchOutputManagerSwing.ProviderInteractionLevel
          Levels to enable/disable interactive provider behaviour.
 
Field Summary
 
Fields inherited from class de.unihalle.informatik.Alida.batch.ALDBatchOutputManager
debug, mapTable
 
Method Summary
static ALDBatchOutputManagerSwing getInstance()
          Return the single instance of this class
 ALDBatchOutputManagerSwing.ProviderInteractionLevel getProviderInteractionLevel()
          Returns the current level of provider interaction.
 boolean isTriggerValueChangeEvents()
          Returns value of event trigger flag.
 void setProviderInteractionLevel(ALDBatchOutputManagerSwing.ProviderInteractionLevel level)
          Set the level of provider interaction which is allowed.
 void setTriggerValueChangeEvents(boolean b)
          Set the value change event trigger flag.
 JComponent writeData(ALDBatchRunResultInfo obj, ALDParameterDescriptor descr)
          Interface method for displaying a batch summary in the GUI.
 
Methods inherited from class de.unihalle.informatik.Alida.batch.ALDBatchOutputManager
getProvider, initMapTable, providerAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ALDBatchOutputManagerSwing getInstance()
Return the single instance of this class

Returns:
Single instance.

getProviderInteractionLevel

public ALDBatchOutputManagerSwing.ProviderInteractionLevel getProviderInteractionLevel()
Returns the current level of provider interaction.

Returns:
Current level of provider interaction.

setProviderInteractionLevel

public void setProviderInteractionLevel(ALDBatchOutputManagerSwing.ProviderInteractionLevel level)
Set the level of provider interaction which is allowed.

Parameters:
level - New level of interaction providers have to obey.

isTriggerValueChangeEvents

public boolean isTriggerValueChangeEvents()
Returns value of event trigger flag.

Returns:
True, if value change events are allowed.

setTriggerValueChangeEvents

public void setTriggerValueChangeEvents(boolean b)
Set the value change event trigger flag.

Parameters:
b - New value of the event trigger flag.

writeData

public JComponent writeData(ALDBatchRunResultInfo obj,
                            ALDParameterDescriptor descr)
                     throws ALDBatchIOException
Interface method for displaying a batch summary in the GUI.

Parameters:
obj - Object to be displayed or saved.
Throws:
ALDDataIOManagerException
ALDBatchIOException


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