Groovy Documentation

org.jdesktop.html.form
[Java] Interface RadioInput

org.jdesktop.html.form.Input
  org.jdesktop.html.form.RadioInput
All Superinterfaces:
Input

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:

Authors:
rbair


Method Summary
String[] getValues()

Gets the set of valid values.

 
Methods inherited from interface Input
getName, getValue, setValue
 

Method Detail

getValues

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


 

Groovy Documentation