Package net.webpdf.wsclient.openapi
Enum OperationPositionBackgroundBaseSettings.PositionEnum
- java.lang.Object
-
- java.lang.Enum<OperationPositionBackgroundBaseSettings.PositionEnum>
-
- net.webpdf.wsclient.openapi.OperationPositionBackgroundBaseSettings.PositionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationPositionBackgroundBaseSettings.PositionEnum>
- Enclosing class:
- OperationPositionBackgroundBaseSettings
public static enum OperationPositionBackgroundBaseSettings.PositionEnum extends Enum<OperationPositionBackgroundBaseSettings.PositionEnum>
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_RIGHTCUSTOMTOP_CENTERTOP_LEFTTOP_RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationPositionBackgroundBaseSettings.PositionEnumfromValue(String value)StringgetValue()StringtoString()static OperationPositionBackgroundBaseSettings.PositionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationPositionBackgroundBaseSettings.PositionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOM
public static final OperationPositionBackgroundBaseSettings.PositionEnum CUSTOM
-
TOP_LEFT
public static final OperationPositionBackgroundBaseSettings.PositionEnum TOP_LEFT
-
TOP_CENTER
public static final OperationPositionBackgroundBaseSettings.PositionEnum TOP_CENTER
-
TOP_RIGHT
public static final OperationPositionBackgroundBaseSettings.PositionEnum TOP_RIGHT
-
CENTER_LEFT
public static final OperationPositionBackgroundBaseSettings.PositionEnum CENTER_LEFT
-
CENTER_CENTER
public static final OperationPositionBackgroundBaseSettings.PositionEnum CENTER_CENTER
-
CENTER_RIGHT
public static final OperationPositionBackgroundBaseSettings.PositionEnum CENTER_RIGHT
-
BOTTOM_LEFT
public static final OperationPositionBackgroundBaseSettings.PositionEnum BOTTOM_LEFT
-
BOTTOM_CENTER
public static final OperationPositionBackgroundBaseSettings.PositionEnum BOTTOM_CENTER
-
BOTTOM_RIGHT
public static final OperationPositionBackgroundBaseSettings.PositionEnum BOTTOM_RIGHT
-
-
Method Detail
-
values
public static OperationPositionBackgroundBaseSettings.PositionEnum[] 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 (OperationPositionBackgroundBaseSettings.PositionEnum c : OperationPositionBackgroundBaseSettings.PositionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationPositionBackgroundBaseSettings.PositionEnum 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<OperationPositionBackgroundBaseSettings.PositionEnum>
-
fromValue
public static OperationPositionBackgroundBaseSettings.PositionEnum fromValue(String value)
-
-