Groovy Documentation

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


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.

Authors:
rbair


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

public String getName()
Gets the name of this Input.
Returns:
the name. This will never be null.


getValue

public String getValue()
Gets the value of the Input.
Returns:
the value. This may be null.


setValue

public void setValue(String value)
Sets the value of the Input. This value may be null.
Parameters:
value - the value. May be null.


 

Groovy Documentation