Package org.docx4j.dml
Enum STPresetMaterialType
- All Implemented Interfaces:
Serializable,Comparable<STPresetMaterialType>,java.lang.constant.Constable
Java class for ST_PresetMaterialType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_PresetMaterialType">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="legacyMatte"/>
<enumeration value="legacyPlastic"/>
<enumeration value="legacyMetal"/>
<enumeration value="legacyWireframe"/>
<enumeration value="matte"/>
<enumeration value="plastic"/>
<enumeration value="metal"/>
<enumeration value="warmMatte"/>
<enumeration value="translucentPowder"/>
<enumeration value="powder"/>
<enumeration value="dkEdge"/>
<enumeration value="softEdge"/>
<enumeration value="clear"/>
<enumeration value="flat"/>
<enumeration value="softmetal"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClearDark EdgeFlatLegacy MatteLegacy MetalLegacy PlasticLegacy WireframeMatteMetalPlasticPowderSoft EdgeSoft MetalTranslucent PowderWarm Matte -
Method Summary
Modifier and TypeMethodDescriptionstatic STPresetMaterialTypevalue()static STPresetMaterialTypeReturns the enum constant of this type with the specified name.static STPresetMaterialType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEGACY_MATTE
Legacy Matte -
LEGACY_PLASTIC
Legacy Plastic -
LEGACY_METAL
Legacy Metal -
LEGACY_WIREFRAME
Legacy Wireframe -
MATTE
Matte -
PLASTIC
Plastic -
METAL
Metal -
WARM_MATTE
Warm Matte -
TRANSLUCENT_POWDER
Translucent Powder -
POWDER
Powder -
DK_EDGE
Dark Edge -
SOFT_EDGE
Soft Edge -
CLEAR
Clear -
FLAT
Flat -
SOFTMETAL
Soft Metal
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
value
-
fromValue
-