Package net.webpdf.wsclient.openapi
Class OperationOptionsFont
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationOptionsFont
-
public class OperationOptionsFont extends Object
Used to specify the font and formatting for the header and footer.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLORstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_SIZEstatic StringJSON_PROPERTY_UNDERLINE
-
Constructor Summary
Constructors Constructor Description OperationOptionsFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationOptionsFontcolor(String color)booleanequals(Object o)@Nullable StringgetColor()Used to set the colour for the text output.@Nullable StringgetName()Used to specify the name of the font that should be used for the text output.@Nullable IntegergetSize()Used to set the text size for the text output.@Nullable BooleangetUnderline()If true, the text in the header and footer will be underlined.inthashCode()OperationOptionsFontname(String name)voidsetColor(String color)voidsetName(String name)voidsetSize(Integer size)voidsetUnderline(Boolean underline)OperationOptionsFontsize(Integer size)StringtoString()OperationOptionsFontunderline(Boolean underline)
-
-
-
Field Detail
-
JSON_PROPERTY_COLOR
public static final String JSON_PROPERTY_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNDERLINE
public static final String JSON_PROPERTY_UNDERLINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
color
public OperationOptionsFont color(String color)
-
getColor
@Nullable public @Nullable String getColor()
Used to set the colour for the text output. The colour needs to be specified as a hexadecimal RGB value with a number sign before it.- Returns:
- color
-
setColor
public void setColor(String color)
-
name
public OperationOptionsFont name(String name)
-
getName
@Nullable public @Nullable String getName()
Used to specify the name of the font that should be used for the text output. If a font is not specified, \"Helvetica\" will be used.- Returns:
- name
-
setName
public void setName(String name)
-
size
public OperationOptionsFont size(Integer size)
-
getSize
@Nullable public @Nullable Integer getSize()
Used to set the text size for the text output. minimum: 1 maximum: 1296- Returns:
- size
-
setSize
public void setSize(Integer size)
-
underline
public OperationOptionsFont underline(Boolean underline)
-
getUnderline
@Nullable public @Nullable Boolean getUnderline()
If true, the text in the header and footer will be underlined.- Returns:
- underline
-
setUnderline
public void setUnderline(Boolean underline)
-
-