adams.flow.sink
Enum ImageJWriter.ImageType

java.lang.Object
  extended by java.lang.Enum<ImageJWriter.ImageType>
      extended by adams.flow.sink.ImageJWriter.ImageType
All Implemented Interfaces:
Serializable, Comparable<ImageJWriter.ImageType>
Enclosing class:
ImageJWriter

public static enum ImageJWriter.ImageType
extends Enum<ImageJWriter.ImageType>

The type of the image to create.

Version:
$Revision: 6067 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
AUTO
          Automatic, based on extension.
BMP
          Bitmap.
FITS
          fits.
GIF
          GIF.
JPEG
          JPEG.
LUT
          look up table.
PGM
          PGM.
PNG
          PNG.
RAW
          raw.
TEXT
          text.
TIFF
          TIFF.
ZIP
          zipped TIFF.
 
Method Summary
static ImageJWriter.ImageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageJWriter.ImageType[] 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

AUTO

public static final ImageJWriter.ImageType AUTO
Automatic, based on extension.


BMP

public static final ImageJWriter.ImageType BMP
Bitmap.


FITS

public static final ImageJWriter.ImageType FITS
fits.


GIF

public static final ImageJWriter.ImageType GIF
GIF.


JPEG

public static final ImageJWriter.ImageType JPEG
JPEG.


LUT

public static final ImageJWriter.ImageType LUT
look up table.


PGM

public static final ImageJWriter.ImageType PGM
PGM.


PNG

public static final ImageJWriter.ImageType PNG
PNG.


RAW

public static final ImageJWriter.ImageType RAW
raw.


TEXT

public static final ImageJWriter.ImageType TEXT
text.


TIFF

public static final ImageJWriter.ImageType TIFF
TIFF.


ZIP

public static final ImageJWriter.ImageType ZIP
zipped TIFF.

Method Detail

values

public static ImageJWriter.ImageType[] 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 (ImageJWriter.ImageType c : ImageJWriter.ImageType.values())
    System.out.println(c);

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

valueOf

public static ImageJWriter.ImageType 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 © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.