public class WidgetHandler extends Object
WidgetComponents to set the value to their respective FormFields when focus is lost,
selection is changed in a choice field, or a button is clicked.| Constructor and Description |
|---|
WidgetHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
getValueFromComponent(com.qoppa.pdf.annotations.comps.WidgetComponent widgetComp)
Sets the value from the
WidgetComponent on the associated FormField. |
void |
setSelected(com.qoppa.pdf.annotations.comps.WButtonComponent widgetComp,
boolean selected)
Sets the selection state of the
WidgetComponent on the associated FormField. |
public void getValueFromComponent(com.qoppa.pdf.annotations.comps.WidgetComponent widgetComp)
throws PDFException
WidgetComponent on the associated FormField.
This method should be used with Text and Choice components.widgetComp - PDFExceptionpublic void setSelected(com.qoppa.pdf.annotations.comps.WButtonComponent widgetComp,
boolean selected)
WidgetComponent on the associated FormField.
This method should be used with Button components.widgetComp - selected -