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
ModifierConstructorDescriptionprotected
HasTextEditor
(HasText peer) Constructs a new HasTextEditor that that modifies the givenHasText
peer instance. -
Method Summary
-
Constructor Details
-
Method Details
-
of
Returns a new ValueEditor that that modifies the givenHasText
peer instance.- Parameters:
peer
- aHasText
instance- Returns:
- a HasTextEditor instance
-
getValue
Description copied from interface:TakesValue
Returns the current value.- Specified by:
getValue
in interfaceTakesValue<String>
- Returns:
- the value as an object of type V
- See Also:
-
setValue
Description copied from interface:TakesValue
Sets the value.- Specified by:
setValue
in interfaceTakesValue<String>
- Parameters:
value
- a value object of type V- See Also:
-