public class ButtonComponent extends AnnotationBase implements IButtonComponent
Represents Button properties
<b>Learn more</b>
| Constructor and Description |
|---|
ButtonComponent()
Initializes new instance of
ButtonComponent class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(ButtonComponent other)
Compares Button Components using IEquatable Equals method
|
boolean |
equals(Object obj)
Compares Button Components using standard object Equals method
|
String |
getAlternateName()
Gets or sets component alternate name Alternate name is used as field
tooltip in Adobe Acrobat.
|
Integer |
getBorderColor()
Gets or sets annotation border color
|
Integer |
getBorderWidth()
Gets or sets annotation border width
|
Rectangle |
getBox()
Gets or sets component position
|
Integer |
getButtonColor()
Gets or sets component color
|
String |
getNormalCaption()
Gets or sets component normal caption
|
String |
getPartialName()
Gets or sets component partial name
|
Integer |
getPenColor()
Gets or sets component pen color
|
String |
getRolloverCaption()
Gets or sets rollover caption of button which shall be displayed when the
user rolls the cursor into its active area without pressing the mouse
button.
|
Byte |
getStyle()
Gets or sets annotation border
|
int |
hashCode()
Returns HashCode of Button Component
|
void |
setAlternateName(String value)
Gets or sets component alternate name Alternate name is used as field
tooltip in Adobe Acrobat.
|
void |
setBorderColor(Integer value)
Gets or sets annotation border color
|
void |
setBorderWidth(Integer value)
Gets or sets annotation border width
|
void |
setBox(Rectangle value)
Gets or sets component position
|
void |
setButtonColor(Integer value)
Gets or sets component color
|
void |
setNormalCaption(String value)
Gets or sets component normal caption
|
void |
setPartialName(String value)
Gets or sets component partial name
|
void |
setPenColor(Integer value)
Gets or sets component pen color
|
void |
setRolloverCaption(String value)
Gets or sets rollover caption of button which shall be displayed when the
user rolls the cursor into its active area without pressing the mouse
button.
|
void |
setStyle(Byte value)
Gets or sets annotation border
|
String |
toString() |
String |
toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle) |
equals, getCounter, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCounter, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUserpublic ButtonComponent()
Initializes new instance of ButtonComponent class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic final boolean equals(ButtonComponent other)
Compares Button Components using IEquatable Equals method
other - The ButtonComponent object to compare with the current
objectpublic boolean equals(Object obj)
Compares Button Components using standard object Equals method
equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>equals in class AnnotationBaseobj - The object to compare with the current objectpublic final String getAlternateName()
Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat.
public final Integer getBorderColor()
Gets or sets annotation border color
public final Integer getBorderWidth()
Gets or sets annotation border width
public final Rectangle getBox()
Gets or sets component position
public final Integer getButtonColor()
Gets or sets component color
public final String getNormalCaption()
Gets or sets component normal caption
public final String getPartialName()
Gets or sets component partial name
public final Integer getPenColor()
Gets or sets component pen color
public final String getRolloverCaption()
Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button.
public final Byte getStyle()
Gets or sets annotation border
getStyle in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBorderStylepublic int hashCode()
Returns HashCode of Button Component
hashCode in class AnnotationBasepublic final void setAlternateName(String value)
Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat.
value - public final void setBorderColor(Integer value)
Gets or sets annotation border color
value - public final void setBorderWidth(Integer value)
Gets or sets annotation border width
value - public final void setBox(Rectangle value)
Gets or sets component position
public final void setButtonColor(Integer value)
Gets or sets component color
value - public final void setNormalCaption(String value)
Gets or sets component normal caption
value - public final void setPartialName(String value)
Gets or sets component partial name
value - public final void setPenColor(Integer value)
Gets or sets component pen color
value - public final void setRolloverCaption(String value)
Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button.
value - public final void setStyle(Byte value)
Gets or sets annotation border
setStyle in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBorderStylevalue - public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.