|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.basics.SegmentationInitializerDataIOSwing
@ALDDataIOProvider(priority=10) public class SegmentationInitializerDataIOSwing
Class for loading/saving objects of type SegmentationInitializer
.
If no concrete class is requested, the type of the returned data object
depends on the input data (e.g. 3D data yields an object of type
MTBSegmentation3D
to be returned, 2D data results in an object of
type MTBSegmentation3D
).
If a concrete class is given an object of a corresponding class is returned,
if available. In case that the dimensions of input data and desired class
are not consistent, the input data is automatically converted if possible.
This might result in a loss of data.
Nested Class Summary | |
---|---|
protected class |
SegmentationInitializerDataIOSwing.ConfigureSegmentationButton
GUI element for configuring segmentations. |
protected class |
SegmentationInitializerDataIOSwing.SegmentationConfigWin
Segmentation configuration window. |
Constructor Summary | |
---|---|
SegmentationInitializerDataIOSwing()
|
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 segmentation objects. |
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 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 |
---|
public SegmentationInitializerDataIOSwing()
Method Detail |
---|
public Collection<Class<?>> providedClasses()
providedClasses
in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIO
public de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
createGUIElement
in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public void setValue(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem, Object value) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
setValue
in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
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
readData
in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public JComponent writeData(Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
writeData
in interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |