de.unihalle.informatik.MiToBo.core.dataio.provider.swing
Class MTBTableModelDataIOSwing

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.core.dataio.provider.swing.MTBTableModelDataIOSwing
All Implemented Interfaces:
de.unihalle.informatik.Alida.dataio.provider.ALDDataIO, de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

@ALDDataIOProvider
public class MTBTableModelDataIOSwing
extends Object
implements de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

Class for loading/saving MTBTableModel data objects.

Author:
moeller

Constructor Summary
MTBTableModelDataIOSwing()
           
 
Method Summary
 de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
          Generic reading of table models.
 Collection<Class<?>> providedClasses()
          Interface method to announce class for which IO is provided for.
 Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem)
           
 void setValue(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElement, Object value)
           
 JComponent writeData(Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTBTableModelDataIOSwing

public MTBTableModelDataIOSwing()
Method Detail

providedClasses

public Collection<Class<?>> providedClasses()
Interface method to announce class for which IO is provided for.

Specified by:
providedClasses in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIO
Returns:
Collection of classes provided.

createGUIElement

public de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent createGUIElement(Field field,
                                                                                                        Class<?> cl,
                                                                                                        Object obj,
                                                                                                        de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Generic reading of table models.

Specified by:
createGUIElement in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

setValue

public void setValue(Field field,
                     Class<?> cl,
                     de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElement,
                     Object value)
              throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
Specified by:
setValue in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
Throws:
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException

readData

public Object readData(Field field,
                       Class<?> cl,
                       de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem)
Specified by:
readData in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

writeData

public JComponent writeData(Object obj,
                            de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
                     throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
Specified by:
writeData in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
Throws:
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.