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

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

@ALDDataIOProvider(priority=10)
public class MTBJFreeChartDataIOSwing
extends Object
implements de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

Implementation of ALDDataIOSwing interface for JFreeChart objects.

Author:
moeller

Nested Class Summary
protected  class MTBJFreeChartDataIOSwing.ChartShowButton
          Button to display a chart on demand.
protected  class MTBJFreeChartDataIOSwing.ChartShowPanel
          Panel containing the button to display an image on demand.
 
Constructor Summary
MTBJFreeChartDataIOSwing()
          Default constructor.
 
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)
           
 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 f, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem, 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

MTBJFreeChartDataIOSwing

public MTBJFreeChartDataIOSwing()
Default constructor.

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)
Specified by:
createGUIElement in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

setValue

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

readData

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

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.