public class ExtendedPropertyDescriptor extends PropertyDescriptor
| Modifier and Type | Field and Description |
|---|---|
static Comparator |
BY_CATEGORY_COMPARATOR |
| Constructor and Description |
|---|
ExtendedPropertyDescriptor(String propertyName,
Class beanClass) |
ExtendedPropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName) |
ExtendedPropertyDescriptor(String propertyName,
Method getter,
Method setter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory() |
Class |
getPropertyTableRendererClass() |
static ExtendedPropertyDescriptor |
newPropertyDescriptor(String propertyName,
Class beanClass) |
ExtendedPropertyDescriptor |
setCategory(String category)
Sets this property category
|
void |
setPropertyTableRendererClass(Class tableCellRendererClass)
You can associate a special tablecellrenderer with a particular Property.
|
ExtendedPropertyDescriptor |
setReadOnly()
Force this property to be readonly
|
createPropertyEditor, equals, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethodattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringpublic static final Comparator BY_CATEGORY_COMPARATOR
public ExtendedPropertyDescriptor(String propertyName, Class beanClass) throws IntrospectionException
IntrospectionExceptionpublic ExtendedPropertyDescriptor(String propertyName, Method getter, Method setter) throws IntrospectionException
IntrospectionExceptionpublic ExtendedPropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName) throws IntrospectionException
IntrospectionExceptionpublic ExtendedPropertyDescriptor setCategory(String category)
category - public String getCategory()
public ExtendedPropertyDescriptor setReadOnly()
public void setPropertyTableRendererClass(Class tableCellRendererClass)
tableCellRendererClass - public Class getPropertyTableRendererClass()
public static ExtendedPropertyDescriptor newPropertyDescriptor(String propertyName, Class beanClass) throws IntrospectionException
IntrospectionExceptionCopyright © 2015. All rights reserved.