sdtlistitem-ag凯发旗舰厅



com.spire.doc.documents
class sdtlistitem

java.lang.object
  extended by com.spire.doc.documents.sdtlistitem

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 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

sdtlistitem

public sdtlistitem(java.lang.string displaytext,
                   java.lang.string value)
initializes a new instance of this class.
parameters:
displaytext - displaytext
value - value

sdtlistitem

public sdtlistitem(java.lang.string value)
initializes a new instance of this class.
parameters:
value - value
method detail

getdisplaytext

public 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.
returns:
string

setdisplaytext

public void setdisplaytext(java.lang.string value)
cannot be null and cannot be an empty string.
parameters:
value - string

getvalue

public java.lang.string getvalue()
gets the value of this list item.
returns:
string

setvalue

public void setvalue(java.lang.string value)
cannot be null and cannot be an empty string.
parameters:
value - value


网站地图