@ALDBatchInputProvider(priority=1) public class ALDBatchInputNativeArray1DSwing extends Object implements ALDBatchInputIteratorSwing
ALDBatchInputIteratorSwing for native 1D arrays.| Constructor and Description |
|---|
ALDBatchInputNativeArray1DSwing() |
| 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.
|
Collection<Class<?>> |
providedClasses()
Interface method to announce class for which IO is provided for
field is ignored.
|
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.
|
public Collection<Class<?>> providedClasses()
providedClasses in interface ALDBatchInputIteratorpublic ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, ALDParameterDescriptor descr) throws ALDBatchIOProviderException
ALDBatchInputIteratorSwingcreateGUIElement in interface ALDBatchInputIteratorSwingcl - Class of object to be returned.obj - The value of this object to be set as inital value.descr - Optional descriptor for additional information.ALDBatchIOProviderExceptionpublic void setValue(Field field, Class<?> cl, ALDSwingComponent guiElement, Object value) throws ALDBatchIOProviderException
ALDBatchInputIteratorSwingsetValue in interface ALDBatchInputIteratorSwingfield - 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.ALDBatchIOProviderExceptionpublic Iterator<Object> readData(Field field, Class<?> cl, ALDSwingComponent guiElement)
ALDBatchInputIteratorSwingreadData in interface ALDBatchInputIteratorSwingfield - Field associated with object to be returned.cl - Class of object to be returned.guiElement - Component from where to read data.null.Copyright © 2010–2015 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.