com.aspose.words
Class SdtListItem

java.lang.Object
    extended by com.aspose.words.SdtListItem
All Implemented Interfaces:
java.lang.Cloneable

public class SdtListItem 
extends java.lang.Object

This element specifies a single list item within a parent SdtType.COMBO_BOX or SdtType.DROP_DOWN_LIST structured document tag.

Constructor Summary
SdtListItem(java.lang.String displayText, java.lang.String value)
           Initializes a new instance of this class.
SdtListItem(java.lang.String value)
           Initializes a new instance of this class.
 
Property Getters/Setters Summary
java.lang.StringgetDisplayText()
           Gets the text to display in the run content in place of the Value attribute contents for this list item.
java.lang.StringgetValue()
           Gets the value of this list item.
 

Constructor Detail

SdtListItem

public SdtListItem(java.lang.String displayText, java.lang.String value)
Initializes a new instance of this class.

SdtListItem

public SdtListItem(java.lang.String value)
Initializes a new instance of this class.

Property Getters/Setters Detail

getDisplayText

public java.lang.String getDisplayText()
Gets the text to display in the run content in place of the Value attribute contents for this list item.

Cannot be null and cannot be an empty string.


getValue

public java.lang.String getValue()
Gets the value of this list item.

Cannot be null and cannot be an empty string.


See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.