|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Select
Represents a combobox/list type input field.
An HTML form with such a combo might look like:
<form>
<select name="letter">
<option value="a" />
<option value="b" />
<option value="c" selected="selected" />
<option value="d" />
<option value="e" />
</select>
</form>
The above block of HTML would corrospond to a Select with the
following values:
Note: There is essentially no difference between this interface and the RadioInput interface. HTML separates them for presentation purposes. So do we. By having a separate interface we don't lose important information from within the HTML form. We can use this information to auto-create Swing UI representations.
| Method Summary | |
|---|---|
String[] |
getOptions()
Gets the set of valid values. |
| Methods inherited from interface org.jdesktop.html.form.Input |
|---|
getName, getValue, setValue |
| Method Detail |
|---|
String[] getOptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||