com.qoppa.pdf.form
Interface RadioButtonGroupField

All Superinterfaces:
FormField

public interface RadioButtonGroupField
extends FormField

RadioButtonGroupField holds a radio button group field. This is a group of radio buttons that all have the same name.

Author:
Qoppa Software

Method Summary
 String getDefaultValue()
          Returns the default value for this radio button group field.
 String getValue()
          Returns the value for this radio button group field.
 void setDefaultValue(String defaultValue)
          Sets the default value for this radio button group field.
 void setValue(String value)
          Sets the value for this radio button group field.
 
Methods inherited from interface com.qoppa.pdf.form.FormField
addFieldListener, addKeyListener, addMouseListener, flattenField, getAltFieldName, getFieldName, getFieldTypeDesc, getFullFieldName, getMapFieldName, getUserName, getWidgets, isNoExport, isReadOnly, isRequired, removeFieldListener, reset, setAltFieldName, setComponentVisible, setFieldFlags, setFieldName, setHidden, setMapFieldName, setNoExport, setPrintable, setReadOnly, setRequired, setUserName
 

Method Detail

getDefaultValue

public String getDefaultValue()
Returns the default value for this radio button group field. The default value is the export value if the radio button in the group that is to be selected by default Returns null if all radio buttons in the group are not selected by default.


getValue

public String getValue()
Returns the value for this radio button group field. The value is the export value if the radio button in the group that is currently selected. Returns null if all radio buttons in the group are currently not selected.


setDefaultValue

public void setDefaultValue(String defaultValue)
Sets the default value for this radio button group field. To make one of the radio button in the group selected by default, set the default value to the export value of this radio button. To make all the radio buttons in this group unselected by default, set the default value to null.


setValue

public void setValue(String value)
              throws PDFException
Sets the value for this radio button group field. To make one of the radio button in the group selected, set the value to the export value of this radio button. To make all the radio buttons in this group unselected, set the value to null.

Throws:
PDFException