SdtListItem
Overview
SdtListItem is a class in Aspose.Words FOSS for Java.
Inherits from: Cloneable.
This element specifies a single list item within a parent SdtType.COMBO_BOX or SdtType.DROP_DOWN_LIST structured document tag.
Edition status of its 5 listed members (a property and its accessor methods are listed separately, overloads once): 5 not yet exercised by a verified example.
This class declares 4 methods for SdtListItem objects in Java programs.
Available methods include: SdtListItem, getDisplayText, getValue.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: displayText, value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
displayText | String | Read | Gets the text to display in the run content in place of the Value attribute contents for this list item. |
value | String | Read | Gets the value of this list item. |
Methods
| Signature | Description |
|---|---|
SdtListItem(displayText: String, value: String) | Initializes a new instance of this class. |
SdtListItem(value: String) | Initializes a new instance of this class. |
getDisplayText() → String | Gets the text to display in the run content in place of the Value attribute contents for this list item. |
getValue() → String | Gets the value of this list item. |