com.qoppa.pdf.annotations
Class WidgetHandler
java.lang.Object
com.qoppa.pdf.annotations.WidgetHandler
public class WidgetHandler
- extends Object
This class is used by 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.
- Author:
- Qoppa Software
|
Method Summary |
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. |
WidgetHandler
public WidgetHandler()
getValueFromComponent
public void getValueFromComponent(com.qoppa.pdf.annotations.comps.WidgetComponent widgetComp)
throws PDFException
- Sets the value from the
WidgetComponent on the associated FormField.
This method should be used with Text and Choice components.
- Parameters:
widgetComp -
- Throws:
PDFException
setSelected
public void setSelected(com.qoppa.pdf.annotations.comps.WButtonComponent widgetComp,
boolean selected)
- Sets the selection state of the
WidgetComponent on the associated FormField.
This method should be used with Button components.
- Parameters:
widgetComp - selected -