org.jdesktop.html.form
Interface RadioInput

All Superinterfaces:
Input
All Known Implementing Classes:
AbstractRadioInput

public interface RadioInput
extends Input

Represents a collection of HTML "radio" type input fields with the same name.

An HTML form with such inputs might look like:


  <form>
      <input type="radio" name="letter" value="a" />
      <input type="radio" name="letter" value="b" />
      <input type="radio" name="letter" value="c" checked="checked" />
      <input type="radio" name="letter" value="d" />
      <input type="radio" name="letter" value="e" />
  </form>
 

The above block of HTML would corrospond to a RadioInput with the following values:


Method Summary
 String[] getValues()
          Gets the set of valid values.
 
Methods inherited from interface org.jdesktop.html.form.Input
getName, getValue, setValue
 

Method Detail

getValues

String[] getValues()
Gets the set of valid values. Any call to #setValue(String) must reference one of these.

Returns:
the array of valid values.