public class WidgetHandler extends Object
WidgetComponent
s to set the value to their respective FormField
s 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
- PDFException
public 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
-