de.unihalle.informatik.MiToBo.core.dataio.provider.swing
Enum MTBDataIOFileSwing.OutputMode

java.lang.Object
  extended by java.lang.Enum<MTBDataIOFileSwing.OutputMode>
      extended by de.unihalle.informatik.MiToBo.core.dataio.provider.swing.MTBDataIOFileSwing.OutputMode
All Implemented Interfaces:
Serializable, Comparable<MTBDataIOFileSwing.OutputMode>
Enclosing class:
MTBDataIOFileSwing

public static enum MTBDataIOFileSwing.OutputMode
extends Enum<MTBDataIOFileSwing.OutputMode>

Output mode for data.

Author:
moeller

Enum Constant Summary
GUI
          Show the data in graphical component.
MEASURE
          Measure data for some datatypes, like area of regions, length of contours.
MTB_XML
          Save the data to XML beans MiToBo XML file (library: xbeans).
ROI_MANAGER
          Export the data to the ImageJ roi manager.
SERIAL_XML
          Save the data to serialized XML file (library: xstream).
 
Method Summary
static MTBDataIOFileSwing.OutputMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MTBDataIOFileSwing.OutputMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ROI_MANAGER

public static final MTBDataIOFileSwing.OutputMode ROI_MANAGER
Export the data to the ImageJ roi manager.


MEASURE

public static final MTBDataIOFileSwing.OutputMode MEASURE
Measure data for some datatypes, like area of regions, length of contours.


MTB_XML

public static final MTBDataIOFileSwing.OutputMode MTB_XML
Save the data to XML beans MiToBo XML file (library: xbeans).


SERIAL_XML

public static final MTBDataIOFileSwing.OutputMode SERIAL_XML
Save the data to serialized XML file (library: xstream).


GUI

public static final MTBDataIOFileSwing.OutputMode GUI
Show the data in graphical component.

Method Detail

values

public static MTBDataIOFileSwing.OutputMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MTBDataIOFileSwing.OutputMode c : MTBDataIOFileSwing.OutputMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MTBDataIOFileSwing.OutputMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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