Enum CssBackgroundUtils.BackgroundPropertyType
- java.lang.Object
-
- java.lang.Enum<CssBackgroundUtils.BackgroundPropertyType>
-
- com.itextpdf.styledxmlparser.css.util.CssBackgroundUtils.BackgroundPropertyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CssBackgroundUtils.BackgroundPropertyType>
- Enclosing class:
- CssBackgroundUtils
public static enum CssBackgroundUtils.BackgroundPropertyType extends java.lang.Enum<CssBackgroundUtils.BackgroundPropertyType>
Enum for background related properties.
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
BackgroundPropertyType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CssBackgroundUtils.BackgroundPropertyType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CssBackgroundUtils.BackgroundPropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACKGROUND_COLOR
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_COLOR
-
BACKGROUND_IMAGE
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_IMAGE
-
BACKGROUND_POSITION
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_POSITION
-
BACKGROUND_POSITION_X
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_POSITION_X
-
BACKGROUND_POSITION_Y
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_POSITION_Y
-
BACKGROUND_SIZE
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_SIZE
-
BACKGROUND_REPEAT
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_REPEAT
-
BACKGROUND_ORIGIN
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_ORIGIN
-
BACKGROUND_CLIP
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_CLIP
-
BACKGROUND_ATTACHMENT
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_ATTACHMENT
-
BACKGROUND_POSITION_OR_SIZE
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_POSITION_OR_SIZE
-
BACKGROUND_ORIGIN_OR_CLIP
public static final CssBackgroundUtils.BackgroundPropertyType BACKGROUND_ORIGIN_OR_CLIP
-
UNDEFINED
public static final CssBackgroundUtils.BackgroundPropertyType UNDEFINED
-
-
Method Detail
-
values
public static CssBackgroundUtils.BackgroundPropertyType[] 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 (CssBackgroundUtils.BackgroundPropertyType c : CssBackgroundUtils.BackgroundPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssBackgroundUtils.BackgroundPropertyType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-