@OpenApiAll public class StringProperty extends Property
DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, mValue, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE| Constructor and Description |
|---|
StringProperty()
Default constructor.
|
StringProperty(java.lang.String id,
java.lang.Object value)
Deprecated.
|
StringProperty(java.lang.String id,
java.lang.Object value,
boolean multiline)
Deprecated.
|
StringProperty(java.lang.String id,
java.lang.String value)
The property constructor.
|
StringProperty(java.lang.String id,
java.lang.String value,
boolean multiline)
The property constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropertyVisitor v)
Accepts the given visitor.
|
StringProperty |
clone()
Clones the property.
|
java.lang.String |
getClassType()
Returns property class type.
|
java.lang.String |
getString()
Returns value as String object.
|
java.lang.String |
getValueStringRepresentation()
Returns value's string representation.
|
boolean |
isMultiline()
Returns multiline flag.
|
void |
setMultiline(boolean multiline)
Sets the multiline flag
|
void |
setValue(java.lang.Object value)
Sets new property value.
|
_isFrozen, _setFrozen, addPropertyChangeListener, addSource, addSources, areValuesEqual, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getFirstElementFromSources, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSourceAsElement, getSources, getSourcesAsStream, getUndefinedString, getUndefinedString, getValue, hashCode, isEditable, isUndefinedState, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, toStringpublic StringProperty()
@Deprecated
public StringProperty(java.lang.String id,
@CheckForNull
java.lang.Object value)
StringProperty(String, String)public StringProperty(java.lang.String id,
@CheckForNull
java.lang.String value)
id - the ID of property.value - value of the property.@Deprecated
public StringProperty(java.lang.String id,
@CheckForNull
java.lang.Object value,
boolean multiline)
StringProperty(String, String, boolean)public StringProperty(java.lang.String id,
@CheckForNull
java.lang.String value,
boolean multiline)
id - the ID of property.value - value of the property.multiline - the multiline flag value.public void setValue(@CheckForNull
java.lang.Object value)
PropertyPropertyChangeEvent with propertyName - property
ID, newValue and oldValue.public boolean isMultiline()
public void setMultiline(boolean multiline)
multiline - the multiline flag value.public java.lang.String getValueStringRepresentation()
getValueStringRepresentation in class Propertypublic void accept(PropertyVisitor v) throws java.lang.Exception
accept in interface PropertyVisitorAcceptoraccept in class Propertyv - the PropertyVisitor.java.lang.Exceptionpublic java.lang.String getString()
public java.lang.String getClassType()
getClassType in interface PropertyVisitorAcceptorgetClassType in class PropertyPropertyID.STRING_PROPERTYpublic StringProperty clone()
Property