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

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

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

Output mode for data.

Author:
moeller

Enum Constant Summary
GUI
          Show the data in graphical component.
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(java.lang.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

GUI

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


MTB_XML

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


ROI_MANAGER

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


SERIAL_XML

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

Method Detail

valueOf

public static MTBDataIOFileSwing.OutputMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

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