public interface ALDBatchInputIteratorSwing extends ALDBatchInputIterator
Modifier and Type | Method and Description |
---|---|
ALDSwingComponent |
createGUIElement(Field field,
Class<?> cl,
Object obj,
ALDParameterDescriptor descr)
Interface method to create a GUI element for batch data input.
|
Iterator<Object> |
readData(Field field,
Class<?> cl,
ALDSwingComponent guiElement)
Interface method for getting parameter values via a GUI element.
|
void |
setValue(Field field,
Class<?> cl,
ALDSwingComponent guiElement,
Object value)
Interface method for setting new parameter values in GUI.
|
providedClasses
ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, ALDParameterDescriptor descr) throws ALDBatchIOProviderException
cl
- Class of object to be returned.obj
- The value of this object to be set as inital value.descr
- Optional descriptor for additional information.ALDBatchIOProviderException
void setValue(Field field, Class<?> cl, ALDSwingComponent guiElement, Object value) throws ALDBatchIOProviderException
field
- Field of parameter object to be handled.cl
- Class of parameter object to be handled.guiElement
- Corresponding GUI element.value
- New value of the parameter.ALDBatchIOProviderException
Iterator<Object> readData(Field field, Class<?> cl, ALDSwingComponent guiElement) throws ALDBatchIOProviderException
field
- Field associated with object to be returned.cl
- Class of object to be returned.guiElement
- Component from where to read data.null
.ALDBatchIOProviderException
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.