|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.forms.FormElement com.cete.dynamicpdf.pageelements.forms.ChoiceField
public abstract class ChoiceField
Represents the choice field of a interactive forms. A base class for all form field of type choice form field.
A choice field contains several text items, one or more of which may be selected as the field value.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
protected |
ChoiceField(java.lang.String name,
float x,
float y,
float width,
float height)
Creates a new instance of ChoiceField class. |
Method Summary | |
---|---|
Font |
getFont()
Gets the font of the field. |
float |
getFontSize()
Gets the font size of the field. |
ChoiceItemList |
getItems()
Gets the list of items for the "ChoiceField . |
boolean |
isNoExport()
Gets the export state of a choice field. |
void |
setFont(Font font)
Sets the font for the field. |
void |
setFontSize(float fontSize)
Sets the font size for the field. |
void |
setNoExport(boolean value)
Sets the export state of a choice field. |
Methods inherited from class com.cete.dynamicpdf.pageelements.forms.FormElement |
---|
getBackgroundColor, getBorderColor, getBorderStyle, getHeight, getMappingName, getName, getOutput, getReaderEvents, getRotate, getTextColor, getToolTip, getWidth, getX, getY, isPrintable, isReadOnly, isVisible, setBackgroundColor, setBorderColor, setBorderStyle, setHeight, setMappingName, setName, setOutput, setPrintable, setReadOnly, setRotate, setTag, setTextColor, setToolTip, setVisible, setWidth, setX, setY |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
draw, getTag, getTagOrder, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ChoiceField(java.lang.String name, float x, float y, float width, float height)
ChoiceField
class.
name
- Name of a choice field.x
- X coordinate of a choice field.y
- Y coordinate of a choice field.width
- Width of a choice field.height
- Height of a choice field.Method Detail |
---|
public void setFont(Font font)
font
- the font for the field.public Font getFont()
public void setFontSize(float fontSize)
fontSize
- the font size for the field.public float getFontSize()
public boolean isNoExport()
public void setNoExport(boolean value)
If set, the field will not be exported by a submit-form action.
value
- the export state of a choice field.public ChoiceItemList getItems()
"ChoiceField
.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |