public interface IStringProperty
| Modifier and Type | Interface and Description |
|---|---|
static class |
IStringProperty.WithState
A simple implementation that holds its own state.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString()
Get the string value.
|
boolean |
isValidString(java.lang.String value)
Returns true if the string value is valid.
|
void |
setString(java.lang.String value)
Set the string value, regardless of it being a valid value or not.
|
default boolean |
trySetString(java.lang.String value)
Try to set the string value.
|
java.lang.String getString()
void setString(java.lang.String value)
value - the string valueboolean isValidString(java.lang.String value)
value - the string valuedefault boolean trySetString(java.lang.String value)
value - the string value