public class EnumPropertyDescriptor extends SBPropertyDescriptor
SBPropertyDescriptorSBPropertyDescriptor.SingleValueSetter_expressionInputPort, NOT_AN_EXPRESSION| Constructor and Description |
|---|
EnumPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String[] values)
Construct an enumerated property descriptor.
|
EnumPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String readMethodName,
java.lang.String writeMethodName,
java.lang.String[] values)
Construct an enumerated property descriptor with customized read/write method names.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getValues()
Return the list of allowable values for the property.
|
void |
setValues(java.lang.String[] values)
Set the list of allowable values for the property.
|
deprecated, description, displayName, getExpressionInputPort, getMaskDisplay, getMultiLine, getUIHints, isDeprecated, isExpression, isRequired, mask, multiline, optional, setDeprecated, setMaskStringDisplay, setMultiLine, setRequired, setUIHintscreatePropertyEditor, equals, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethodpublic EnumPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String[] values)
throws java.beans.IntrospectionException
propertyName - the name of the propertybeanClass - the operator class containing the propertyvalues - the set of allowable values for the propertyjava.beans.IntrospectionException - if introspection failspublic EnumPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String readMethodName,
java.lang.String writeMethodName,
java.lang.String[] values)
throws java.beans.IntrospectionException
propertyName - the name of the propertybeanClass - the operator class containing the propertyreadMethodName - the name of the method used to read the propertywriteMethodName - the name of the method used to write the propertyvalues - the set of allowable values for the propertyjava.beans.IntrospectionException - if introspection failspublic java.lang.String[] getValues()
public void setValues(java.lang.String[] values)
values - allowable values for this property