Enum CompositionOperation
- java.lang.Object
-
- java.lang.Enum<CompositionOperation>
-
- org.silverpeas.core.io.media.image.option.CompositionOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<CompositionOperation>
public enum CompositionOperation extends Enum<CompositionOperation>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompositionOperation
decode(String compositionOperation)
String
getToolName()
static CompositionOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompositionOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVER
public static final CompositionOperation OVER
-
BUMPMAP
public static final CompositionOperation BUMPMAP
-
MULTIPLY
public static final CompositionOperation MULTIPLY
-
-
Method Detail
-
values
public static CompositionOperation[] 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 (CompositionOperation c : CompositionOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompositionOperation 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
-
decode
public static CompositionOperation decode(String compositionOperation)
-
getToolName
public String getToolName()
-
-