com.google.gwt.user.client

## Interface TakesValue<V>

- Type Parameters:
    `V` - value type
  All Known Subinterfaces:
    HasConstrainedValue<T>, HasValue<T>, LeafValueEditor<T>
  All Known Implementing Classes:
    ButtonBase, CellWidget, CheckBox, DateBox, DateLabel, DatePicker, DoubleBox, FakeLeafValueEditor, HasTextEditor, Hidden, IntegerBox, LongBox, NumberLabel, OptionalFieldEditor, PasswordTextBox, RadioButton, SimpleCheckBox, SimpleEditor, SimpleRadioButton, SuggestBox, TakesValueEditor, TextArea, TextBox, TextBoxBase, TextButton, ToggleButton, ValueBox, ValueBoxBase, ValueBoxEditor, ValueLabel, ValueListBox, ValuePicker

      public interface TakesValue<V>

  Implemented by objects that hold a value.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `V` | `getValue()` Returns the current value.
    `void` | `setValue(V value)` Sets the value.

- - ### Method Detail

    - #### setValue

          void setValue(V value)

      Sets the value.
      Parameters:
        `value` - a value object of type V
      See Also:
        `getValue()`

    - #### getValue

          V getValue()

      Returns the current value.
      Returns:
        the value as an object of type V
      See Also:
        `setValue(V)`