com.google.gwt.user.client.ui
Interface TakesValue<V>

Type Parameters:
V - value type
All Known Subinterfaces:
HasValue<T>, RecordDetailsView<R>, RecordEditView<R>
All Known Implementing Classes:
CheckBox, DateBox, DatePicker, DoubleBox, IntegerBox, LongBox, PasswordTextBox, RadioButton, SuggestBox, TextArea, TextBox, TextBoxBase, ValueBox, ValueBoxBase

public interface TakesValue<V>

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

Implemented by objects that hold a value.


Method Summary
 V getValue()
          return the current value.
 void setValue(V value)
           
 

Method Detail

setValue

void setValue(V value)
Parameters:
value - the new value

getValue

V getValue()
return the current value.