|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.editor.client.adapters.SimpleEditor<T>
T - the type of data being heldpublic class SimpleEditor<T>
A trivial implementation of LeafValueEditor than can be used for "hidden" properties when composing UI-based Editors.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor |
|---|
Editor.Ignore, Editor.Path |
| Constructor Summary | |
|---|---|
protected |
SimpleEditor(T value)
Constructs a new SimpleEditor that holds the given value. |
| Method Summary | ||
|---|---|---|
T |
getValue()
Returns the current value. |
|
static
|
of()
Returns a new ValueEditor that holds a null value. |
|
static
|
of(T value)
Returns a new ValueEditor that holds the given value. |
|
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 SimpleEditor(T value)
value - a data object of type T| Method Detail |
|---|
public static <T> SimpleEditor<T> of()
null value.
null valuepublic static <T> SimpleEditor<T> of(T value)
value - a data object of type T
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 | |||||||