com.crionics.jpdf.forms
Class ComboBoxField

java.lang.Object
  extended by PdfObjectContainer
      extended by com.crionics.jpdf.forms.AbstractField
          extended by com.crionics.jpdf.forms.AbstractChoiceField
              extended by com.crionics.jpdf.forms.ComboBoxField

public class ComboBoxField
extends AbstractChoiceField

Form ComboBox


Method Summary
static ComboBoxField createInstance(PdfDocument doc, java.lang.String name, int pageIndex, java.awt.Rectangle rect)
           
 boolean isEditable()
           
 void setEditable(boolean isEditable)
          sets the field can be edited with custom user values
 void setTextFont(java.lang.String name)
           
 
Methods inherited from class com.crionics.jpdf.forms.AbstractChoiceField
getDefaultValue, getPossibleValues, getValue, isSorted, setDefaultValue, setDefaultValue, setPossibleValues, setSorted, setValue, setValue
 
Methods inherited from class com.crionics.jpdf.forms.AbstractField
getAssociatedPageIndex, getBorderColor, getBorderStyle, getBorderWidth, getFillColor, getName, getOrientation, getPosition, getTextColor, getTextFont, getTextSize, getToolTip, isHidden, isPrintable, isReadOnly, setBorderColor, setBorderStyle, setBorderWidth, setFillColor, setHidden, setOrientation, setPosition, setPrintable, setReadOnly, setTextColor, setTextFont, setTextSize, setToolTip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public static ComboBoxField createInstance(PdfDocument doc,
                                           java.lang.String name,
                                           int pageIndex,
                                           java.awt.Rectangle rect)
                                    throws PdfException,
                                           java.io.IOException
Throws:
PdfException
java.io.IOException

isEditable

public boolean isEditable()
                   throws PdfException,
                          java.io.IOException
Returns:
true if the field can be edited with custom user values
Throws:
PdfException
java.io.IOException

setEditable

public void setEditable(boolean isEditable)
                 throws java.io.IOException,
                        PdfException
sets the field can be edited with custom user values

Parameters:
isEditable -
Throws:
java.io.IOException
PdfException

setTextFont

public final void setTextFont(java.lang.String name)
Overrides:
setTextFont in class AbstractField


Copyright © 1999-2007 Crionics. All Rights Reserved.