org.jaitools.demo
Enum ImageChoice

java.lang.Object
  extended by java.lang.Enum<ImageChoice>
      extended by org.jaitools.demo.ImageChoice
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageChoice>

public enum ImageChoice
extends java.lang.Enum<ImageChoice>

Constants to identify Jiffle scripts used to create example images for JAI-tools demo applications.

Since:
1.1
Version:
$Id: ImageChoice.java 1654 2011-06-16 10:46:55Z michael.bedward $
Author:
Michael Bedward

Enum Constant Summary
CHESSBOARD
          Chessboard pattern with 0 and 1 values.
INTERFERENCE
          Complex interference pattern.
MANDELBROT
          Binary image of the Mandelbrot set.
RIPPLES
          Concentric, sinusoidal ripples.
SQUIRCLE
          Sort of a square circle thing.
 
Method Summary
 java.lang.String getDestImageVarName()
           
 java.lang.String toString()
           
static ImageChoice valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageChoice[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHESSBOARD

public static final ImageChoice CHESSBOARD
Chessboard pattern with 0 and 1 values.


INTERFERENCE

public static final ImageChoice INTERFERENCE
Complex interference pattern.


MANDELBROT

public static final ImageChoice MANDELBROT
Binary image of the Mandelbrot set.


RIPPLES

public static final ImageChoice RIPPLES
Concentric, sinusoidal ripples.


SQUIRCLE

public static final ImageChoice SQUIRCLE
Sort of a square circle thing.

Method Detail

values

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

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

valueOf

public static ImageChoice 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ImageChoice>

getDestImageVarName

public java.lang.String getDestImageVarName()


Copyright © 2011. All Rights Reserved.