Package adams.flow.transformer
Enum NegativeRegions.NegativeRegionTransferType
- java.lang.Object
-
- java.lang.Enum<NegativeRegions.NegativeRegionTransferType>
-
- adams.flow.transformer.NegativeRegions.NegativeRegionTransferType
-
- All Implemented Interfaces:
Serializable
,Comparable<NegativeRegions.NegativeRegionTransferType>
- Enclosing class:
- NegativeRegions
public static enum NegativeRegions.NegativeRegionTransferType extends Enum<NegativeRegions.NegativeRegionTransferType>
Determines how to add the regions to the image.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NegativeRegions.NegativeRegionTransferType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NegativeRegions.NegativeRegionTransferType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final NegativeRegions.NegativeRegionTransferType ADD
just adds them as additional objects.
-
REPLACE
public static final NegativeRegions.NegativeRegionTransferType REPLACE
removes all objects first and then add them.
-
-
Method Detail
-
values
public static NegativeRegions.NegativeRegionTransferType[] 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 (NegativeRegions.NegativeRegionTransferType c : NegativeRegions.NegativeRegionTransferType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NegativeRegions.NegativeRegionTransferType 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 nameNullPointerException
- if the argument is null
-
-