Class HasTextEditor
java.lang.Object
com.google.gwt.editor.ui.client.adapters.HasTextEditor
- All Implemented Interfaces:
Editor<String>,LeafValueEditor<String>,TakesValue<String>
Adapts the HasText 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
ConstructorsModifierConstructorDescriptionprotectedHasTextEditor(HasText peer) Constructs a new HasTextEditor that that modifies the givenHasTextpeer instance. -
Method Summary
-
Constructor Details
-
Method Details
-
of
Returns a new ValueEditor that that modifies the givenHasTextpeer instance.- Parameters:
peer- aHasTextinstance- Returns:
- a HasTextEditor instance
-
getValue
Description copied from interface:TakesValueReturns the current value.- Specified by:
getValuein interfaceTakesValue<String>- Returns:
- the value as an object of type V
- See Also:
-
setValue
Description copied from interface:TakesValueSets the value.- Specified by:
setValuein interfaceTakesValue<String>- Parameters:
value- a value object of type V- See Also:
-