Package 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:
CellWidget,CheckBox,DateBox,DateLabel,DatePicker,DoubleBox,FakeLeafValueEditor,HasTextEditor,Hidden,IntegerBox,LongBox,NumberLabel,OptionalFieldEditor,PasswordTextBox,RadioButton,SimpleCheckBox,SimpleEditor,SimpleRadioButton,SuggestBox,TakesValueEditor,TextArea,TextBox,TextBoxBase,ToggleButton,ValueBox,ValueBoxBase,ValueBoxEditor,ValueLabel,ValueListBox,ValuePicker
public interface TakesValue<V>
Implemented by objects that hold a value.
-
Method Summary
-
Method Details
-
setValue
Sets the value.- Parameters:
value- a value object of type V- See Also:
-
getValue
V getValue()Returns the current value.- Returns:
- the value as an object of type V
- See Also:
-