|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.documents.SdtListItem
public class SdtListItem
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 value)
Initializes a new instance of this class. |
|
SdtListItem(java.lang.String displayText,
java.lang.String value)
Initializes a new instance of this class. |
Method Summary | |
---|---|
java.lang.String |
getDisplayText()
Gets the text to display in the run content in place of the SdtListItem.getValue()
attribute contents for this list item. |
java.lang.String |
getValue()
Gets the value of this list item. |
void |
setDisplayText(java.lang.String value)
Cannot be null and cannot be an empty string. |
void |
setValue(java.lang.String value)
Cannot be null and cannot be an empty string. |
Constructor Detail |
---|
public SdtListItem(java.lang.String displayText, java.lang.String value)
displayText
- displayTextvalue
- valuepublic SdtListItem(java.lang.String value)
value
- valueMethod Detail |
---|
public java.lang.String getDisplayText()
SdtListItem.getValue()
attribute contents for this list item.
public void setDisplayText(java.lang.String value)
value
- Stringpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |