de.unihalle.informatik.MiToBo.morphology
Enum DistanceTransform.ForegroundColor

java.lang.Object
  extended by java.lang.Enum<DistanceTransform.ForegroundColor>
      extended by de.unihalle.informatik.MiToBo.morphology.DistanceTransform.ForegroundColor
All Implemented Interfaces:
Serializable, Comparable<DistanceTransform.ForegroundColor>
Enclosing class:
DistanceTransform

public static enum DistanceTransform.ForegroundColor
extends Enum<DistanceTransform.ForegroundColor>

Color of binary image foreground.

Author:
Danny Misiak

Enum Constant Summary
FG_BLACK
           
FG_WHITE
           
 
Method Summary
static DistanceTransform.ForegroundColor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DistanceTransform.ForegroundColor[] 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

FG_BLACK

public static final DistanceTransform.ForegroundColor FG_BLACK

FG_WHITE

public static final DistanceTransform.ForegroundColor FG_WHITE
Method Detail

values

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

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

valueOf

public static DistanceTransform.ForegroundColor 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.