@ALDDataIOProvider(priority=10)
public class MTBDataIOFileSwing
extends de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwingInitialGUIValueDefaultHandler
Provides data I/O for the following classes:
MTBRegion2DSetBag
MTBRegion2DSet
MTBRegion3DSet
MTBPolygon2DSet
MTBContour2DSet
MTBBorder2DSet
MTBLineSegment2DSet
Note that some of the classes allow for interaction with the ROI manager
of ImageJ, i.e. the class
MTBPolygon2DSet
.
It can be initialized with selections from the ROI manager, and resulting
polygons can also be added to the ROI manager.
Modifier and Type | Class and Description |
---|---|
static class |
MTBDataIOFileSwing.InputMode
Input mode for data.
|
private class |
MTBDataIOFileSwing.MTBDataIOFileInPanel
Panel for handling GUI I/O of MiToBo container classes.
|
private class |
MTBDataIOFileSwing.MTBDataIOFileOutPanel
Panel for displaying and saving MiToBo container classes.
|
static class |
MTBDataIOFileSwing.OutputMode
Output mode for data.
|
Constructor and Description |
---|
MTBDataIOFileSwing() |
Modifier and Type | Method and Description |
---|---|
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() |
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) |
public Collection<Class<?>> providedClasses()
public de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
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
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public JComponent writeData(Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.