TextFieldAnnotation

Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps

All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ITextFieldAnnotation

public class TextFieldAnnotation extends AnnotationBaseProps implements ITextFieldAnnotation

Represents Text field annotation properties

Constructors

Constructor Description
TextFieldAnnotation() Initializes new instance of TextFieldAnnotation class.

Methods

Method Description
getText() Gets or sets text
setText(String value) Gets or sets text
getTextHorizontalAlignment() Gets or sets text horizontal alignment
setTextHorizontalAlignment(Integer value) Gets or sets text horizontal alignment
getFontColor() Gets or sets annotation text font color
setFontColor(Integer value) Gets or sets annotation text font color
getFontFamily() Gets or sets annotation text font family
setFontFamily(String value) Gets or sets annotation text font family
getFontSize() Gets or sets annotation text font size
setFontSize(Double value) Gets or sets annotation text font size
getPenStyle() Gets or sets annotation pen style
setPenStyle(Byte value) Gets or sets annotation pen style
equals(TextFieldAnnotation other) Compares Text Field Annotations using IEquatable Equals method
equals(Object o) Compares Text Field Annotations using standard object Equals method
hashCode() Returns HashCode of Text Field Annotation
deepClone() Returns new Instance with same values
toString()
toString(ToStringStyle toStringStyle)

TextFieldAnnotation()

public TextFieldAnnotation()

Initializes new instance of TextFieldAnnotation class.

getText()

public final String getText()

Gets or sets text

Returns: java.lang.String -

setText(String value)

public final void setText(String value)

Gets or sets text

Parameters:

Parameter Type Description
value java.lang.String

getTextHorizontalAlignment()

public final Integer getTextHorizontalAlignment()

Gets or sets text horizontal alignment

Returns: java.lang.Integer -

setTextHorizontalAlignment(Integer value)

public final void setTextHorizontalAlignment(Integer value)

Gets or sets text horizontal alignment

Parameters:

Parameter Type Description
value java.lang.Integer

getFontColor()

public final Integer getFontColor()

Gets or sets annotation text font color

Returns: java.lang.Integer -

setFontColor(Integer value)

public final void setFontColor(Integer value)

Gets or sets annotation text font color

Parameters:

Parameter Type Description
value java.lang.Integer

getFontFamily()

public final String getFontFamily()

Gets or sets annotation text font family

Returns: java.lang.String -

setFontFamily(String value)

public final void setFontFamily(String value)

Gets or sets annotation text font family

Parameters:

Parameter Type Description
value java.lang.String

getFontSize()

public final Double getFontSize()

Gets or sets annotation text font size

Returns: java.lang.Double -

setFontSize(Double value)

public final void setFontSize(Double value)

Gets or sets annotation text font size

Parameters:

Parameter Type Description
value java.lang.Double

getPenStyle()

public final Byte getPenStyle()

Gets or sets annotation pen style

Returns: java.lang.Byte -

setPenStyle(Byte value)

public final void setPenStyle(Byte value)

Gets or sets annotation pen style

Parameters:

Parameter Type Description
value java.lang.Byte

equals(TextFieldAnnotation other)

public final boolean equals(TextFieldAnnotation other)

Compares Text Field Annotations using IEquatable Equals method

Parameters:

Parameter Type Description
other TextFieldAnnotation The TextFieldAnnotation object to compare with the current object

Returns: boolean

equals(Object o)

public boolean equals(Object o)

Compares Text Field Annotations using standard object Equals method

Parameters:

Parameter Type Description
o java.lang.Object The object to compare with the current object

Returns: boolean

hashCode()

public int hashCode()

Returns HashCode of Text Field Annotation

Returns: int

deepClone()

public Object deepClone()

Returns new Instance with same values

Returns: java.lang.Object

toString()

public String toString()

Returns: java.lang.String

toString(ToStringStyle toStringStyle)

public String toString(ToStringStyle toStringStyle)

Parameters:

Parameter Type Description
toStringStyle org.apache.commons.lang3.builder.ToStringStyle

Returns: java.lang.String