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

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

@ALDDataIOProvider
@ALDMetaInfo(export=MANDATORY)
public class AwtColorDataIOSwing
extends Object
implements de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing

Data I/O provider for GUI-OpRunner for java.awt.Color objects.

Author:
Oliver Gress

Nested Class Summary
 class AwtColorDataIOSwing.ColorChooserButton
           
 
Constructor Summary
AwtColorDataIOSwing()
           
 
Method Summary
 AwtColorDataIOSwing.ColorChooserButton createGUIElement(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
           
 Collection<Class<?>> providedClasses()
           
 Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElement)
           
 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

AwtColorDataIOSwing

public AwtColorDataIOSwing()
Method Detail

providedClasses

public Collection<Class<?>> providedClasses()
Specified by:
providedClasses in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIO

createGUIElement

public AwtColorDataIOSwing.ColorChooserButton createGUIElement(Field field,
                                                               Class<?> cl,
                                                               Object obj,
                                                               de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
                                                        throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
Specified by:
createGUIElement in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
Throws:
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException

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 guiElement)
                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.