Gets the property value as a string suitable for presentation
to a human to edit.
The property value as a string suitable for presentationto a human to edit.
Returns "null" is the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor shouldbe prepared to parse that string back in setAsText().
This method is inteded to be overriden in order to provide more specific
support by subclasses. The base implementation is to return the string
passed in.
Parameters: string -
A PropertyEditor may chose to make available a full custom Component
that edits its property value. It is the responsibility of the
PropertyEditor to hook itself up to its editor Component itself and
to report property value changes by firing a PropertyChange event.
The higher-level code that calls getCustomEditor may either embed
the Component in some larger property sheet, or it may put it in
its own individual dialog, or ...
A java.awt.Component that will allow a human to directlyedit the current property value. May be null if this isnot supported.
This method is inteded to be overriden in order to provide more specific
support by subclasses. The base implementation is to return the result
of toString() on object.
Parameters: string -
Sets the property value by parsing a given String. May raise
java.lang.IllegalArgumentException if either the String is
badly formatted or if this kind of property can't be expressed
as text.
Parameters: text - The string to be parsed.