Class RadioGroup


public class RadioGroup extends ChoiceGroup
Represents a grouped set of radio buttons
  • Constructor Details

  • Method Details

    • getType

      public Field.Type getType()
      Description copied from class: Field
      Subclasses should return an appropriate Field.Type. This type is rendered as part of <input type= ...
      Specified by:
      getType in class ChoiceGroup
    • getStringValue

      Convenience method that returns the selected option as a String.

      If there is no selection, returns null

    • getIntValue

      public int getIntValue(FormData fd)
      Convenience method that returns the value of this field as a integer.
      Throws:
      NumberFormatException - if the value could not be returned as in integer.
    • getBooleanValue

      public boolean getBooleanValue(FormData fd)
      Convenience method that returns the value of this field as a boolean.