public class ALDBatchOutputManagerSwing extends ALDBatchOutputManager
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
.
Modifier and Type | Class and Description |
---|---|
static class |
ALDBatchOutputManagerSwing.ProviderInteractionLevel
Levels to enable/disable interactive provider behaviour.
|
Modifier and Type | Field and Description |
---|---|
(package private) static ALDBatchOutputManagerSwing |
instance
The singleton instance of this class
|
private ALDBatchOutputManagerSwing.ProviderInteractionLevel |
provInterLevel
Interaction level the providers should obey.
|
private boolean |
triggerValueChangeEvents
Flag to indicate if change value events should be triggered or not.
|
debug, mapTable
Modifier | Constructor and Description |
---|---|
private |
ALDBatchOutputManagerSwing()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getProvider, initMapTable, providerAvailable
private ALDBatchOutputManagerSwing.ProviderInteractionLevel provInterLevel
private boolean triggerValueChangeEvents
static final ALDBatchOutputManagerSwing instance
private ALDBatchOutputManagerSwing()
public static ALDBatchOutputManagerSwing getInstance()
public ALDBatchOutputManagerSwing.ProviderInteractionLevel getProviderInteractionLevel()
public void setProviderInteractionLevel(ALDBatchOutputManagerSwing.ProviderInteractionLevel level)
level
- New level of interaction providers have to obey.public boolean isTriggerValueChangeEvents()
public void setTriggerValueChangeEvents(boolean b)
b
- New value of the event trigger flag.public JComponent writeData(ALDBatchRunResultInfo obj, ALDParameterDescriptor descr) throws ALDBatchIOException
obj
- Object to be displayed or saved.ALDDataIOManagerException
ALDBatchIOException
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.