public class SwingFormFactory extends GenericFormFactory implements FormFactory
AcroRes, CO, currentPdfFile, firstButtons, formsActionHandler, groups, pageDataannotation, ANNOTATION, checkboxbutton, CHECKBOXBUTTON, combobox, COMBOBOX, HTML, JAVAFX, list, LIST, multilinepassword, MULTILINEPASSWORD, multilinetext, MULTILINETEXT, pushbutton, PUSHBUTTON, radiobutton, RADIOBUTTON, signature, SIGNATURE, singlelinepassword, SINGLELINEPASSWORD, singlelinetext, SINGLELINETEXT, SVG, SWING, ULC, unknown, UNKNOWN| Constructor and Description |
|---|
SwingFormFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
annotationButton(FormObject form)
Setup and return the Annotation specified in the FormObject
|
Object |
checkBoxBut(FormObject form)
Setup and return the CheckBox specified in the FormObject
|
Object |
comboBox(FormObject form)
Setup and return the ComboBox specified in the FormObject
|
GUIData |
getCustomCompData()
Get new data object to hold all widget implementations
|
PdfSwingPopup |
getPopupComponent(FormObject form,
int cropBoxWith)
public method to allow user to replace Popup with their own implementation
|
int |
getType()
return Formfactory.
ULC, SWING or HTML constant |
Object |
listField(FormObject form)
Setup and return the List specified in the FormObject
|
Object |
multiLinePassword(FormObject form)
Setup and return the MultiLine Password specified in the FormObject
|
Object |
multiLineText(FormObject form)
Setup and return the MultiLine Text Area specified in the FormObject
|
Object |
pushBut(FormObject form)
Setup and return the Push Button specified in the FormObject
|
Object |
radioBut(FormObject form)
Setup and return the Radio Button specified in the FormObject
|
void |
setAnnotOrder(Map<String,String> annotOrder)
Set the annot field lists tab order from the map provided.
|
void |
setAPImages(FormObject form,
AbstractButton rawComp)
gets each appearance image from the map appearance and
and adds it to the relevant icon for the AbstractButton comp
showImages is to display the appearance images for that FormObject
|
Object |
signature(FormObject form)
Setup and return the Signature Field specified in the FormObject
|
Object |
singleLinePassword(FormObject form)
Setup and return the Single Line Password specified in the FormObject
|
Object |
singleLineText(FormObject form)
Setup and return the Single Line Text Field specified in the FormObject
|
createPressedLook, flattenForms, generateBorderfromForm, getPopupComponent, indexAllKids, isButtonForm, isTextForm, readAPimagesForText, reset, setDVR, setOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflattenForms, generateBorderfromForm, indexAllKids, reset, setDVR, setOptionspublic Object annotationButton(FormObject form)
annotationButton in interface FormFactoryform - FormObject containing all values for the Annotationpublic Object comboBox(FormObject form)
comboBox in interface FormFactoryform - FormObject containing all values or the ComboBoxFormObjectpublic Object checkBoxBut(FormObject form)
checkBoxBut in interface FormFactoryform - FormObject containing all values or the CheckBoxFormObjectpublic Object listField(FormObject form)
listField in interface FormFactoryform - FormObject containing all values or the ListFormObjectpublic Object multiLinePassword(FormObject form)
multiLinePassword in interface FormFactoryform - FormObject containing all values or the MultiLine PasswordFormObjectpublic Object multiLineText(FormObject form)
multiLineText in interface FormFactoryform - FormObject containing all values or the MultiLine Text AreaFormObjectpublic Object signature(FormObject form)
signature in interface FormFactoryform - FormObject containing all values or the Signature Fieldpublic Object pushBut(FormObject form)
pushBut in interface FormFactoryform - FormObject containing all values or the Push ButtonFormObjectpublic Object radioBut(FormObject form)
radioBut in interface FormFactoryform - FormObject containing all values or the Radio ButtonFormObjectpublic Object singleLinePassword(FormObject form)
singleLinePassword in interface FormFactoryform - FormObject containing all values or the Single Line PasswordFormObjectpublic Object singleLineText(FormObject form)
singleLineText in interface FormFactoryform - FormObject containing all values or the Single Line Text FieldFormObjectpublic void setAPImages(FormObject form, AbstractButton rawComp)
public GUIData getCustomCompData()
getCustomCompData in interface FormFactorypublic int getType()
FormFactorygetType in interface FormFactorypublic void setAnnotOrder(Map<String,String> annotOrder)
setAnnotOrder in interface FormFactoryannotOrder - Map where keys are pdf object references as Strings and values are tab indices as Stringspublic PdfSwingPopup getPopupComponent(FormObject form, int cropBoxWith)
form - FormObject representing the popupcropBoxWith - int value representing the width of the page for this popupCopyright © 2017. All rights reserved.