org.jdesktop.html.form
Class DefaultInput

java.lang.Object
  extended by org.jdesktop.beans.AbstractBean
      extended by org.jdesktop.html.form.DefaultInput
All Implemented Interfaces:
Input

public class DefaultInput
extends org.jdesktop.beans.AbstractBean
implements Input

A default implementation of the Input interface.


Constructor Summary
DefaultInput()
          Creates a new instance of DefaultInput
DefaultInput(String name, String value)
           
 
Method Summary
 String getName()
          Gets the name of this Input.
 String getValue()
          Gets the value of the Input.
 void setName(String name)
           
 void setValue(String value)
          Sets the value of the Input.
 
Methods inherited from class org.jdesktop.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInput

public DefaultInput()
Creates a new instance of DefaultInput


DefaultInput

public DefaultInput(String name,
                    String value)
Method Detail

getName

public String getName()
Description copied from interface: Input
Gets the name of this Input.

Specified by:
getName in interface Input
Returns:
the name. This will never be null.

setName

public void setName(String name)

getValue

public String getValue()
Description copied from interface: Input
Gets the value of the Input.

Specified by:
getValue in interface Input
Returns:
the value. This may be null.

setValue

public void setValue(String value)
Description copied from interface: Input
Sets the value of the Input. This value may be null.

Specified by:
setValue in interface Input
Parameters:
value - the value. May be null.