public class JavaTypePropertyDescriptor extends SBPropertyDescriptor
Currently the chooser supports allowing the user to select one of:
SBPropertyDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
JavaTypePropertyDescriptor.TypeChoice
Studio will display a Java Type chooser dialog for the
JavaTypePropertyDescriptor.TypeChoice provided to this property descriptor |
SBPropertyDescriptor.SingleValueSetter
_expressionInputPort, NOT_AN_EXPRESSION
Constructor and Description |
---|
JavaTypePropertyDescriptor(JavaTypePropertyDescriptor.TypeChoice type,
java.beans.PropertyDescriptor pd,
java.lang.Class<?> beanClass)
Copy a property descriptor.
|
JavaTypePropertyDescriptor(java.lang.String propertyName,
JavaTypePropertyDescriptor.TypeChoice type,
java.lang.Class<?> beanClass) |
JavaTypePropertyDescriptor(java.lang.String propertyName,
JavaTypePropertyDescriptor.TypeChoice type,
java.lang.Class<?> beanClass,
java.lang.String readMethodName,
java.lang.String writeMethodName)
Construct a property descriptor with non-standard read/write method names.
|
Modifier and Type | Method and Description |
---|---|
JavaTypePropertyDescriptor.TypeChoice |
getType() |
deprecated, description, displayName, getExpressionInputPort, getMaskDisplay, getMultiLine, getUIHints, isDeprecated, isExpression, isRequired, mask, multiline, optional, setDeprecated, setMaskStringDisplay, setMultiLine, setRequired, setUIHints
createPropertyEditor, equals, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
public JavaTypePropertyDescriptor(java.lang.String propertyName, JavaTypePropertyDescriptor.TypeChoice type, java.lang.Class<?> beanClass) throws java.beans.IntrospectionException
propertyName
- the name of the propertytype
- a JavaTypePropertyDescriptor.TypeChoice
to prompt the user forbeanClass
- the operator class containing the propertyjava.beans.IntrospectionException
- if introspection failspublic JavaTypePropertyDescriptor(java.lang.String propertyName, JavaTypePropertyDescriptor.TypeChoice type, java.lang.Class<?> beanClass, java.lang.String readMethodName, java.lang.String writeMethodName) throws java.beans.IntrospectionException
propertyName
- the name of the propertytype
- a JavaTypePropertyDescriptor.TypeChoice
to prompt the user forbeanClass
- 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 propertyjava.beans.IntrospectionException
- if introspection failspublic JavaTypePropertyDescriptor(JavaTypePropertyDescriptor.TypeChoice type, java.beans.PropertyDescriptor pd, java.lang.Class<?> beanClass) throws java.beans.IntrospectionException
type
- a JavaTypePropertyDescriptor.TypeChoice
to prompt the user forpd
- a property descriptor to copy frombeanClass
- the operator class containing the propertyjava.beans.IntrospectionException
- if introspection failspublic JavaTypePropertyDescriptor.TypeChoice getType()
JavaTypePropertyDescriptor.TypeChoice
for this property descriptor