public class ListBoxField extends AbstractSelectField
| Constructor and Description |
|---|
ListBoxField(String id, int size, boolean allowMultipleSelection)
Creates a new list box field.
|
| Modifier and Type | Method and Description |
|---|---|
|
getDefaultProperty(int property) |
protected com.itextpdf.layout.renderer.IRenderer |
makeNewRenderer() |
addOption, getOptionsaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFont, setFontColor, setFontColor, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ListBoxField(String id, int size, boolean allowMultipleSelection)
size - the size of the list box, which will define the height of visible properties, shall be greater than zero
allowMultipleSelection - a boolean flag that defines whether multiple options are allowed to be selected at once
id - the id
publicT1 getDefaultProperty(int property)
getDefaultProperty in interface com.itextpdf.layout.IPropertyContainer
getDefaultProperty in class FormField<AbstractSelectField>
protected com.itextpdf.layout.renderer.IRenderer makeNewRenderer()
makeNewRenderer in class com.itextpdf.layout.element.AbstractElement<AbstractSelectField>
Copyright © 1998–2019 iText Group NV. All rights reserved.