public class SdtListItem
extends java.lang.Object
implements java.lang.Cloneable
SdtType.COMBO_BOX or SdtType.DROP_DOWN_LIST structured document tag.
To learn more, visit the Structured Document Tags or Content Control documentation article.
| Constructor and Description |
|---|
SdtListItem(java.lang.String value)
Initializes a new instance of this class.
|
SdtListItem(java.lang.String displayText,
java.lang.String value)
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayText()
Gets the text to display in the run content in place of the
getValue() attribute contents for this list item. |
java.lang.String |
getValue()
Gets the value of this list item.
|
protected java.lang.Object |
memberwiseClone() |
public SdtListItem(java.lang.String displayText,
java.lang.String value)
public SdtListItem(java.lang.String value)
public java.lang.String getDisplayText()
getValue() attribute contents for this list item.
Cannot be null and cannot be an empty string.
getValue() attribute contents for this list item.public java.lang.String getValue()
Cannot be null and cannot be an empty string.
protected java.lang.Object memberwiseClone()