CheckBoxComponent

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

All Implemented Interfaces: com.groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces.ICheckBoxComponent

public class CheckBoxComponent extends AnnotationBase implements ICheckBoxComponent

Represents CheckBox properties


Learn more

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

Methods

Method Description
getChecked() Gets or sets component checked
setChecked(boolean value) Gets or sets component checked
getBox() Gets or sets component position
setBox(Rectangle value) Gets or sets component position
getPenColor() Gets or sets component color
setPenColor(Integer value) Gets or sets component color
getStyle() Gets or sets style box
setStyle(Byte value) Gets or sets style box
equals(CheckBoxComponent other) Compares CheckBox Components using IEquatable Equals method
equals(Object obj) Compares CheckBox Components using standard object Equals method
hashCode() Returns HashCode of CheckBox Component
deepClone() Returns new Instance with same values
toString()
toString(ToStringStyle toStringStyle)

CheckBoxComponent()

public CheckBoxComponent()

Initializes new instance of CheckBoxComponent class.

getChecked()

public final boolean getChecked()

Gets or sets component checked

Returns: boolean -

setChecked(boolean value)

public final void setChecked(boolean value)

Gets or sets component checked

Parameters:

Parameter Type Description
value boolean

getBox()

public final Rectangle getBox()

Gets or sets component position

Returns: Rectangle

setBox(Rectangle value)

public final void setBox(Rectangle value)

Gets or sets component position

Parameters:

Parameter Type Description
value Rectangle

getPenColor()

public final Integer getPenColor()

Gets or sets component color

Returns: java.lang.Integer -

setPenColor(Integer value)

public final void setPenColor(Integer value)

Gets or sets component color

Parameters:

Parameter Type Description
value java.lang.Integer

getStyle()

public final Byte getStyle()

Gets or sets style box

Returns: java.lang.Byte -

setStyle(Byte value)

public final void setStyle(Byte value)

Gets or sets style box

Parameters:

Parameter Type Description
value java.lang.Byte

equals(CheckBoxComponent other)

public final boolean equals(CheckBoxComponent other)

Compares CheckBox Components using IEquatable Equals method

Parameters:

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

Returns: boolean -

equals(Object obj)

public boolean equals(Object obj)

Compares CheckBox Components using standard object Equals method

Parameters:

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

Returns: boolean

hashCode()

public int hashCode()

Returns HashCode of CheckBox Component

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