public class DropdownComponent extends AnnotationBase implements IDropdownComponent
Represents dropdown component properties
<b>Learn more</b>
| Constructor and Description |
|---|
DropdownComponent()
Initializes new instance of
CheckBoxComponent class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(DropdownComponent other)
Compares Dropdown component using IEquatable Equals method
|
boolean |
equals(Object obj)
Compares Dropdown Components using standard object Equals method
|
Rectangle |
getBox()
Gets or sets component position
|
List<String> |
getOptions()
List of options (drop down items) to be shown when component is clicked
|
Integer |
getPenColor()
Gets or sets component pen color
|
Byte |
getPenStyle()
Gets or sets component pen style
|
Byte |
getPenWidth()
Gets or sets component pen width
|
String |
getPlaceholder()
Text to shown when no options has been selected yet
|
Integer |
getSelectedOption()
Number of option to be selected by default
|
int |
hashCode()
Returns HashCode of Dropdown Component
|
void |
setBox(Rectangle value)
Gets or sets component position
|
void |
setOptions(List<String> value)
List of options (drop down items) to be shown when component is clicked
|
void |
setPenColor(Integer value)
Gets or sets component pen color
|
void |
setPenStyle(Byte value)
Gets or sets component pen style
|
void |
setPenWidth(Byte value)
Gets or sets component pen width
|
void |
setPlaceholder(String value)
Text to shown when no options has been selected yet
|
void |
setSelectedOption(Integer value)
Number of option to be selected by default
|
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 DropdownComponent()
Initializes new instance of CheckBoxComponent class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic final boolean equals(DropdownComponent other)
Compares Dropdown component using IEquatable Equals method
other - The DropdownComponent object to compare with the current
objectpublic boolean equals(Object obj)
Compares Dropdown 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 Rectangle getBox()
Gets or sets component position
public final List<String> getOptions()
List of options (drop down items) to be shown when component is clicked
getOptions in interface IDropdownComponentpublic final Integer getPenColor()
Gets or sets component pen color
getPenColor in interface IPenColorpublic final Byte getPenStyle()
Gets or sets component pen style
getPenStyle in interface IPenStylepublic final Byte getPenWidth()
Gets or sets component pen width
getPenWidth in interface IPenWidthpublic final String getPlaceholder()
Text to shown when no options has been selected yet
getPlaceholder in interface IDropdownComponentpublic final Integer getSelectedOption()
Number of option to be selected by default
getSelectedOption in interface IDropdownComponentpublic int hashCode()
Returns HashCode of Dropdown Component
hashCode in class AnnotationBasepublic final void setBox(Rectangle value)
Gets or sets component position
public final void setOptions(List<String> value)
List of options (drop down items) to be shown when component is clicked
setOptions in interface IDropdownComponentvalue - public final void setPenColor(Integer value)
Gets or sets component pen color
setPenColor in interface IPenColorpublic final void setPenStyle(Byte value)
Gets or sets component pen style
setPenStyle in interface IPenStylepublic final void setPenWidth(Byte value)
Gets or sets component pen width
setPenWidth in interface IPenWidthpublic final void setPlaceholder(String value)
Text to shown when no options has been selected yet
setPlaceholder in interface IDropdownComponentvalue - public final void setSelectedOption(Integer value)
Number of option to be selected by default
setSelectedOption in interface IDropdownComponentpublic String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.