|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unihalle.informatik.Alida.batch.ALDBatchInputManager
de.unihalle.informatik.Alida.batch.ALDBatchInputManagerSwing
public class ALDBatchInputManagerSwing
This class implements a batch provider mangager for batch processing in the context of graphical user interfaces.
For data input, it essentially looks up the correct provider for GUI-based execution using the method of its super class and invokes its method.
It does its work in collaboration with
ALDBatchInputIterator.
| Nested Class Summary | |
|---|---|
static class |
ALDBatchInputManagerSwing.ProviderInteractionLevel
Levels to enable/disable interactive provider behaviour. |
| Field Summary |
|---|
| Fields inherited from class de.unihalle.informatik.Alida.batch.ALDBatchInputManager |
|---|
debug, mapTable |
| Method Summary | |
|---|---|
ALDSwingComponent |
createGUIElement(java.lang.reflect.Field field,
java.lang.Class<?> cl,
java.lang.Object obj,
ALDParameterDescriptor descr)
Create a gui element which may be used to request the user to input data. |
static ALDBatchInputManagerSwing |
getInstance()
Return the single instance of this class |
ALDBatchInputManagerSwing.ProviderInteractionLevel |
getProviderInteractionLevel()
Returns the current level of provider interaction. |
boolean |
isTriggerValueChangeEvents()
Returns value of event trigger flag. |
java.util.Iterator<java.lang.Object> |
readData(java.lang.reflect.Field field,
java.lang.Class<?> cl,
ALDSwingComponent guiElement)
Reads data of given class from a specified source. |
void |
setProviderInteractionLevel(ALDBatchInputManagerSwing.ProviderInteractionLevel level)
Set the level of provider interaction which is allowed. |
void |
setTriggerValueChangeEvents(boolean b)
Set the value change event trigger flag. |
| Methods inherited from class de.unihalle.informatik.Alida.batch.ALDBatchInputManager |
|---|
getProvider, initMapTable, providerAvailable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ALDBatchInputManagerSwing getInstance()
public ALDBatchInputManagerSwing.ProviderInteractionLevel getProviderInteractionLevel()
public void setProviderInteractionLevel(ALDBatchInputManagerSwing.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 ALDSwingComponent createGUIElement(java.lang.reflect.Field field,
java.lang.Class<?> cl,
java.lang.Object obj,
ALDParameterDescriptor descr)
throws ALDBatchIOException
This element is later forwarded to readData to
extract the data.
cl - Class of data to be read.obj - The value of this object to set as inital value.
ALDBatchIOException
public java.util.Iterator<java.lang.Object> readData(java.lang.reflect.Field field,
java.lang.Class<?> cl,
ALDSwingComponent guiElement)
throws ALDBatchIOException
cl - Class of data to be read.guiElement - gui element from where to read data.
ALDBatchIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||