pdflistboxfield-ag凯发旗舰厅



com.spire.pdf.fields
class pdflistboxfield

java.lang.object
  extended by com.spire.pdf.fields.pdffield
      extended by com.spire.pdf.fields.pdfstyledfield
          extended by com.spire.pdf.fields.pdfappearancefield
              extended by com.spire.pdf.fields.pdflistfield
                  extended by com.spire.pdf.fields.pdflistboxfield
all implemented interfaces:
ipdfwrapper

public class pdflistboxfield
extends pdflistfield

represents list box field of the pdf form.


constructor summary
pdflistboxfield(pdfpagebase page, java.lang.string name)
          initializes a new instance of the class.
 
method summary
 boolean getmultiselect()
          gets a value indicating whether the field is multiselectable.
  getpdfformfieldtextalignment()
          gets pdftextalignment
 void setmultiselect(boolean value)
          sets a value indicating whether the field is multiselectable.
 void setselectedindex(int selectedindex)
          sets the selectedindex
 void settextalignment( pdfformfieldtextalignment)
          sets textalignment
 
methods inherited from class com.spire.pdf.fields.pdflistfield
getcommitonselchange, getitems, setcommitonselchange
 
methods inherited from class com.spire.pdf.fields.pdfstyledfield
getactions, getbackcolor, getborderstyle, getborderwidth, getbounds, getforecolor, getlocation, getsize, gettextalignment, getvisible, setbackcolor, setbordercolor, setborderstyle, setborderwidth, setbounds, setforecolor, setlocation, setsize, settextalignment, setvisible
 
methods inherited from class com.spire.pdf.fields.pdffield
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, getrequired, gettooltip, setexport, setflatten, setreadonly, settooltip
 
constructor detail

pdflistboxfield

public pdflistboxfield(pdfpagebase page,
                       java.lang.string name)
initializes a new instance of the class.
parameters:
page - page the field to be placed on.
name - the name of the field.
method detail

getpdfformfieldtextalignment

public  getpdfformfieldtextalignment()
gets pdftextalignment
returns:
the pdftextalignment enum

settextalignment

public void settextalignment( pdfformfieldtextalignment)
sets textalignment
parameters:
pdfformfieldtextalignment - the pdfformfieldtextalignment enum

getmultiselect

public boolean getmultiselect()
gets a value indicating whether the field is multiselectable.

setmultiselect

public void setmultiselect(boolean value)
sets a value indicating whether the field is multiselectable.

setselectedindex

public void setselectedindex(int selectedindex)
sets the selectedindex
parameters:
selectedindex - selectedindex


网站地图