
public class HasTextEditor extends Object implements LeafValueEditor<String>
Editor.Ignore, Editor.Path| Modifier | Constructor and Description |
|---|---|
protected |
HasTextEditor(HasText peer)
Constructs a new HasTextEditor that that modifies the given
HasText
peer instance. |
| Modifier and Type | Method and Description |
|---|---|
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)
Sets the value.
|
public static HasTextEditor of(HasText peer)
HasText peer
instance.peer - a HasText instancepublic String getValue()
TakesValuegetValue in interface TakesValue<String>TakesValue.setValue(V)public void setValue(String value)
TakesValuesetValue in interface TakesValue<String>value - a value object of type VTakesValue.getValue()Copyright © 2018. All rights reserved.