## com.google.gwt.user.client.ui
Class Hidden

    java.lang.Object
      com.google.gwt.user.client.ui.UIObject
          com.google.gwt.user.client.ui.Widget
              com.google.gwt.user.client.ui.Hidden

All Implemented Interfaces:
  EventListener, HasName

public class Hidden
extends Widget
implements HasName

Represents a hidden field in an HTML form.

Constructor Summary
`Hidden()` Constructor for `Hidden`.
`Hidden(java.lang.String name)` Constructor for `Hidden`.
`Hidden(java.lang.String name, java.lang.String value)` Constructor for `Hidden`.

Method Summary
`java.lang.String` `getDefaultValue()` Gets the default value of the hidden field.
`java.lang.String` `getID()` Gets the id of the hidden field.
`java.lang.String` `getName()` Gets the name of the hidden field.
`java.lang.String` `getValue()` Gets the value of the hidden field.
`void` `setDefaultValue(java.lang.String defaultValue)` Sets the default value of the hidden field.
`void` `setID(java.lang.String id)` Sets the id of the hidden field.
`void` `setName(java.lang.String name)` Sets the name of the hidden field.
`void` `setValue(java.lang.String value)` Sets the value of the hidden field.

Methods inherited from class com.google.gwt.user.client.ui.Widget
`getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setElement`

Methods inherited from class com.google.gwt.user.client.ui.UIObject
`addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getTitle, isVisible, isVisible, removeStyleName, resetStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Hidden

    public Hidden()

  Constructor for `Hidden`.

### Hidden

    public Hidden(java.lang.String name)

  Constructor for `Hidden`.

Parameters:
  `name` - name of the hidden field

### Hidden

    public Hidden(java.lang.String name,
                  java.lang.String value)

  Constructor for `Hidden`.

Parameters:
  `name` - name of the hidden field
  `value` - value of the hidden field

Method Detail

### getDefaultValue

    public java.lang.String getDefaultValue()

  Gets the default value of the hidden field.

  Returns:
    the default value

### getID

    public java.lang.String getID()

  Gets the id of the hidden field.

  Returns:
    the id

### getName

    public java.lang.String getName()

  Gets the name of the hidden field.

  Specified by:
    `getName` in interface `HasName`
  Returns:
    the name

### getValue

    public java.lang.String getValue()

  Gets the value of the hidden field.

  Returns:
    the value

### setDefaultValue

    public void setDefaultValue(java.lang.String defaultValue)

  Sets the default value of the hidden field.

  Parameters:
    `defaultValue` - default value to set

### setID

    public void setID(java.lang.String id)

  Sets the id of the hidden field.

  Parameters:
    `id` - id to set

### setName

    public void setName(java.lang.String name)

  Sets the name of the hidden field.

  Specified by:
    `setName` in interface `HasName`
  Parameters:
    `name` - name of the field

### setValue

    public void setValue(java.lang.String value)

  Sets the value of the hidden field.

  Parameters:
    `value` - value to set