|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPdfObjectContainer
com.crionics.jpdf.forms.AbstractField
com.crionics.jpdf.forms.AbstractChoiceField
public abstract class AbstractChoiceField
Methods common to all choice fields. Choice fields can get/set multiple selections.
| Method Summary | |
|---|---|
ChoiceEntry[] |
getDefaultValue()
Returns the default value of this Field. listbox can have several entries |
ChoiceEntry[] |
getPossibleValues()
Recover the possible values which can be used by this choice. the list is ordered as it shows on the screen. |
ChoiceEntry[] |
getValue()
Returns the Form Field value. |
boolean |
isSorted()
Returns the current status of the sorting flag. |
void |
setDefaultValue(ChoiceEntry entry)
|
void |
setDefaultValue(ChoiceEntry[] entries)
Sets the default value of this Field. |
void |
setPossibleValues(ChoiceEntry[] entries)
Update the list of Values available for the ListBox. |
void |
setSorted(boolean flag)
Set/Clear the Sorting Flag of this Field. |
void |
setValue(ChoiceEntry entry)
|
void |
setValue(ChoiceEntry[] entries)
Set the current value of this Field. |
| 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, setTextFont, setTextSize, setToolTip |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ChoiceEntry[] getDefaultValue()
throws PdfException,
java.io.IOException
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public ChoiceEntry[] getPossibleValues()
throws PdfException,
java.io.IOException
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public ChoiceEntry[] getValue()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.public boolean isSorted()
public void setDefaultValue(ChoiceEntry entry)
throws PdfException,
java.io.IOException
PdfException
java.io.IOException
public void setDefaultValue(ChoiceEntry[] entries)
throws PdfException,
java.io.IOException
entries - The Default String Value of this Field.
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public void setPossibleValues(ChoiceEntry[] entries)
throws PdfException,
java.io.IOException
entries - The entries to set in the choice list
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public void setSorted(boolean flag)
throws PdfException,
java.io.IOException
flag - true to activate it, false otherwise.
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public void setValue(ChoiceEntry entry)
throws PdfException,
java.io.IOException
PdfException
java.io.IOException
public void setValue(ChoiceEntry[] entries)
throws PdfException,
java.io.IOException
entries - The Value to set.
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||