Enum HemfPlusImage.EmfPlusObjectClamp
- java.lang.Object
-
- java.lang.Enum<HemfPlusImage.EmfPlusObjectClamp>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusImage.EmfPlusObjectClamp
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusImage.EmfPlusObjectClamp>
- Enclosing class:
- HemfPlusImage
public static enum HemfPlusImage.EmfPlusObjectClamp extends Enum<HemfPlusImage.EmfPlusObjectClamp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BitmapClampThe object is clamped to a bitmap.RectClampThe object is clamped to a rectangle.
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusImage.EmfPlusObjectClampvalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusObjectClampvalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusObjectClamp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RectClamp
public static final HemfPlusImage.EmfPlusObjectClamp RectClamp
The object is clamped to a rectangle.
-
BitmapClamp
public static final HemfPlusImage.EmfPlusObjectClamp BitmapClamp
The object is clamped to a bitmap.
-
-
Method Detail
-
values
public static HemfPlusImage.EmfPlusObjectClamp[] 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 (HemfPlusImage.EmfPlusObjectClamp c : HemfPlusImage.EmfPlusObjectClamp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusImage.EmfPlusObjectClamp 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
-
valueOf
public static HemfPlusImage.EmfPlusObjectClamp valueOf(int id)
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:
id- 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
-
-