class PDListBox extends PDChoice
{
    /**
     * @see PDField#PDField(PDAcroForm)
     *
     * @param acroForm The acroform.
     */
    public PDListBox(PDAcroForm acroForm)
    {
        super(acroForm);
    }
    
    /**
     * Constructor.
     * 
     * @param acroForm The form that this field is part of.
     * @param field the PDF object to represent as a field.
     * @param parent the parent node of the node
     */
    PDListBox(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent)
    {
        super(acroForm, field, parent);
    }

    /**
     * This will get the top index "TI" value.
     *
     * @return the top index, default value 0.
     */
    public int getTopIndex()
    {
        return getCOSObject().getInt(COSName.TI, 0);
    }

    /**
     * This will set top index "TI" value.
     *
     * @param topIndex the value for the top index, null will remove the value.
     */
    public void setTopIndex(Integer topIndex)
    {<FILL_FUNCTION_BODY>}
    
    @Override
    void constructAppearances() throws IOException
    {
        AppearanceGeneratorHelper apHelper;
        apHelper = new AppearanceGeneratorHelper(this);
        apHelper.setAppearanceValue("");
    }
}

        if (topIndex != null)
        {
            getCOSObject().setInt(COSName.TI, topIndex);
        }
        else
        {
            getCOSObject().removeItem(COSName.TI);
        }
    
<methods>public void <init>(org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm) ,public List<java.lang.String> getDefaultValue() ,public List<java.lang.String> getOptions() ,public List<java.lang.String> getOptionsDisplayValues() ,public List<java.lang.String> getOptionsExportValues() ,public List<java.lang.Integer> getSelectedOptionsIndex() ,public List<java.lang.String> getValue() ,public java.lang.String getValueAsString() ,public boolean isCombo() ,public boolean isCommitOnSelChange() ,public boolean isDoNotSpellCheck() ,public boolean isMultiSelect() ,public boolean isSort() ,public void setCombo(boolean) ,public void setCommitOnSelChange(boolean) ,public void setDefaultValue(java.lang.String) ,public void setDoNotSpellCheck(boolean) ,public void setMultiSelect(boolean) ,public void setOptions(List<java.lang.String>) ,public void setOptions(List<java.lang.String>, List<java.lang.String>) ,public void setSelectedOptionsIndex(List<java.lang.Integer>) ,public void setSort(boolean) ,public void setValue(java.lang.String) throws java.io.IOException,public void setValue(List<java.lang.String>) throws java.io.IOException<variables>static final int FLAG_COMBO,private static final int FLAG_COMMIT_ON_SEL_CHANGE,private static final int FLAG_DO_NOT_SPELL_CHECK,private static final int FLAG_MULTI_SELECT,private static final int FLAG_SORT