org.jdesktop.html.form
Interface Input

All Known Subinterfaces:
FileInput, RadioInput, Select
All Known Implementing Classes:
AbstractRadioInput, AbstractSelect, DefaultInput

public interface Input

An input value on a Form. This corrosponds to an <input> sub element of a <form> element.

The name property is read only, whereas the value (which changes frequently) is read-write.


Method Summary
 String getName()
          Gets the name of this Input.
 String getValue()
          Gets the value of the Input.
 void setValue(String value)
          Sets the value of the Input.
 

Method Detail

getName

String getName()
Gets the name of this Input.

Returns:
the name. This will never be null.

getValue

String getValue()
Gets the value of the Input.

Returns:
the value. This may be null.

setValue

void setValue(String value)
Sets the value of the Input. This value may be null.

Parameters:
value - the value. May be null.