|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.batch.provider.input.swing.ALDBatchInputNumberSwing
@ALDBatchInputProvider(priority=1) public class ALDBatchInputNumberSwing
Implementation of ALDBatchInputIteratorSwing
for numbers and strings.
Constructor Summary | |
---|---|
ALDBatchInputNumberSwing()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALDBatchInputNumberSwing()
Method Detail |
---|
public Collection<Class<?>> providedClasses()
providedClasses
in interface ALDBatchInputIterator
public ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, ALDParameterDescriptor descr) throws ALDBatchIOProviderException
ALDBatchInputIteratorSwing
createGUIElement
in interface ALDBatchInputIteratorSwing
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
public void setValue(Field field, Class<?> cl, ALDSwingComponent guiElement, Object value) throws ALDBatchIOProviderException
ALDBatchInputIteratorSwing
setValue
in interface ALDBatchInputIteratorSwing
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
public Iterator<Object> readData(Field field, Class<?> cl, ALDSwingComponent guiElement)
ALDBatchInputIteratorSwing
readData
in interface ALDBatchInputIteratorSwing
field
- Field associated with object to be returned.cl
- Class of object to be returned.guiElement
- Component from where to read data.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |