| An editor for properties, the value of which must be selected from one of
a range of values. The domain of legal values is supplied to the editor as an
instance of
com.sun.rave.propertyeditors.domains.Domain . The domain class
is supplied, indirectly, as a value for the property descriptor key
DomainPropertyEditor.DOMAIN_CLASS . For example, to configure a property
the value of which should represent an ISO language code:
propertyDescriptor.setEditorClass(SelectOneDomainEditor.class);
propertyDescriptor.setValue(DomainPropertyEditor.DOMAIN_CLASS, LanguagesDomain);
|