T - the generic type of the value.public class StringTextValue<T> extends Object implements Serializable
| Constructor and Description |
|---|
StringTextValue(String name,
StringTextType stringTextType)
Instantiates a new
StringTextValue object. |
StringTextValue(String name,
T value,
StringTextType stringTextType)
Instantiates a new
StringTextValue object. |
StringTextValue(String name,
T value,
StringTextType stringTextType,
boolean initialValue)
Instantiates a new
StringTextValue object. |
| Modifier and Type | Method and Description |
|---|---|
StringTextValue<T> |
setValue(T value)
Sets the value.
|
StringTextValue<T> |
setValue(T value,
boolean initialValue)
Sets the given value and set the initalValue flag if the flag should keep his state.
|
public StringTextValue(String name, StringTextType stringTextType)
StringTextValue object.name - the namestringTextType - the string text typepublic StringTextValue(String name, T value, StringTextType stringTextType)
StringTextValue object.name - the namevalue - the valuestringTextType - the string text typepublic StringTextValue(String name, T value, StringTextType stringTextType, boolean initialValue)
StringTextValue object.name - the namevalue - the valuestringTextType - the string text typeinitialValue - the flag if the initial value is also the default value. This flag is taken for
the generation of javascript, if false this StringTextValue will be not
added.public StringTextValue<T> setValue(T value)
value - the valuepublic StringTextValue<T> setValue(T value, boolean initialValue)
value - the valueinitialValue - this flag tells the generator if the value is initial. This flag is taken for the
generation of javascript, if false this StringTextValue will be not added.Copyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.