org.escot
Interface StringProperty
- All Superinterfaces:
- EscotFeature
- All Known Implementing Classes:
- BasicString
- public interface StringProperty
- extends EscotFeature
A string data type which supports change notification.
URL_ATTRIBUTE
public static final String URL_ATTRIBUTE
- if present, this string is a URL
MIME_TYPE_ATTRIBUTE
public static final String MIME_TYPE_ATTRIBUTE
- f present, mime type of string
getTextValue
public String getTextValue()
- gets the String this StringProperty represents.
- Returns:
- the String for this StringProperty
addChangeListener
public void addChangeListener(ChangeListener l)
- adds a change listener to this StringProperty, to be notified when the String changes.
- Parameters:
l - a ChangeListener that wants to be notified of changes to this
StringProperty
removeChangeListener
public void removeChangeListener(ChangeListener l)
- removes a change listener to this StringProperty
- Parameters:
l - a ChangeListener that no longer wants to listen to change events
from this StringProperty