|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.fields.PdfField
com.spire.pdf.fields.PdfStyledField
com.spire.pdf.fields.PdfAppearanceField
com.spire.pdf.fields.PdfListField
com.spire.pdf.fields.PdfListBoxField
public class PdfListBoxField
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. |
PdfFormFieldTextAlignment |
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 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 |
---|
public PdfListBoxField(PdfPageBase page, java.lang.String name)
page
- Page the field to be placed on.name
- The name of the field.Method Detail |
---|
public PdfFormFieldTextAlignment getPdfFormFieldTextAlignment()
public void setTextAlignment(PdfFormFieldTextAlignment pdfFormFieldTextAlignment)
pdfFormFieldTextAlignment
- the pdfFormFieldTextAlignment enumpublic boolean getMultiSelect()
public void setMultiSelect(boolean value)
public void setSelectedIndex(int selectedIndex)
selectedIndex
- selectedIndex
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |