public class

HasTextEditor

extends Object
implements LeafValueEditor<T>
java.lang.Object
   ↳ com.google.gwt.editor.ui.client.adapters.HasTextEditor

Class Overview

Adapts the HasText interface to the Editor framework.

Summary

Protected Constructors
HasTextEditor(HasText peer)
Constructs a new HasTextEditor that that modifies the given HasText peer instance.
Public Methods
String getValue()
Returns the current value.
static HasTextEditor of(HasText peer)
Returns a new ValueEditor that that modifies the given HasText peer instance.
void setValue(String value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.user.client.TakesValue

Protected Constructors

protected HasTextEditor (HasText peer)

Constructs a new HasTextEditor that that modifies the given HasText peer instance.

Parameters
peer a HasText instance

Public Methods

public String getValue ()

Returns the current value.

Returns
  • the value as an object of type V

public static HasTextEditor of (HasText peer)

Returns a new ValueEditor that that modifies the given HasText peer instance.

Parameters
peer a HasText instance
Returns
  • a HasTextEditor instance

public void setValue (String value)