Package net.webpdf.wsclient.openapi
Enum MetadataPieceInfoBackgroundContent.AlignmentEnum
- java.lang.Object
-
- java.lang.Enum<MetadataPieceInfoBackgroundContent.AlignmentEnum>
-
- net.webpdf.wsclient.openapi.MetadataPieceInfoBackgroundContent.AlignmentEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataPieceInfoBackgroundContent.AlignmentEnum>
- Enclosing class:
- MetadataPieceInfoBackgroundContent
public static enum MetadataPieceInfoBackgroundContent.AlignmentEnum extends Enum<MetadataPieceInfoBackgroundContent.AlignmentEnum>
Uses one of multiple preset positions in order to position the background on the page. * custom = Disable the use of a preset position. * top\\_left = Positions the background in the top left corner. * top\\_center = Positions the background in the centre on the top margin. * top\\_right = Positions the background in the top right corner. * center\\_left = Positions the background at the centre of the page, to the left. * center\\_center = Positions the background at the centre of the page. * center\\_right = Positions the background at the centre of the page, to the right. * bottom\\_left = Positions the background in the bottom left corner. * bottom\\_center = Positions the background in the centre on the bottom margin. * bottom\\_right = Positions the background in the bottom right corner.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_CENTERBOTTOM_LEFTBOTTOM_RIGHTCENTER_CENTERCENTER_LEFTCENTER_RIGHTTOP_CENTERTOP_LEFTTOP_RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataPieceInfoBackgroundContent.AlignmentEnumfromValue(String value)StringgetValue()StringtoString()static MetadataPieceInfoBackgroundContent.AlignmentEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataPieceInfoBackgroundContent.AlignmentEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum TOP_LEFT
-
TOP_CENTER
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum TOP_CENTER
-
TOP_RIGHT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum TOP_RIGHT
-
CENTER_LEFT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum CENTER_LEFT
-
CENTER_CENTER
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum CENTER_CENTER
-
CENTER_RIGHT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum CENTER_RIGHT
-
BOTTOM_LEFT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum BOTTOM_LEFT
-
BOTTOM_CENTER
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum BOTTOM_CENTER
-
BOTTOM_RIGHT
public static final MetadataPieceInfoBackgroundContent.AlignmentEnum BOTTOM_RIGHT
-
-
Method Detail
-
values
public static MetadataPieceInfoBackgroundContent.AlignmentEnum[] 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 (MetadataPieceInfoBackgroundContent.AlignmentEnum c : MetadataPieceInfoBackgroundContent.AlignmentEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataPieceInfoBackgroundContent.AlignmentEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetadataPieceInfoBackgroundContent.AlignmentEnum>
-
fromValue
public static MetadataPieceInfoBackgroundContent.AlignmentEnum fromValue(String value)
-
-