|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.editor.client.adapters.TakesValueEditor<T>
T
- the type of value to be editedpublic class TakesValueEditor<T>
Adapts the TakesValue
interface to the Editor framework.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor |
---|
Editor.Ignore, Editor.Path |
Constructor Summary | |
---|---|
protected |
TakesValueEditor(TakesValue<T> peer)
Returns a new ValueEditor that modifies the given TakesValue peer
instance. |
Method Summary | ||
---|---|---|
T |
getValue()
Returns the current value. |
|
static
|
of(TakesValue<T> peer)
Returns a new ValueEditor that modifies the given TakesValue peer
instance. |
|
void |
setValue(T value)
Sets the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TakesValueEditor(TakesValue<T> peer)
TakesValue
peer
instance.
peer
- a TakesValue
instanceMethod Detail |
---|
public static <T> TakesValueEditor<T> of(TakesValue<T> peer)
TakesValue
peer
instance.
peer
- a TakesValue
instance
public T getValue()
TakesValue
getValue
in interface TakesValue<T>
TakesValue.setValue(V)
public void setValue(T value)
TakesValue
setValue
in interface TakesValue<T>
value
- a value object of type VTakesValue.getValue()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |