|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.das2.beans.BeansUtil
public class BeansUtil
| Constructor Summary | |
|---|---|
BeansUtil()
|
|
| Method Summary | |
|---|---|
static AccessLevelBeanInfo |
asAccessLevelBeanInfo(java.beans.BeanInfo beanInfo,
java.lang.Class beanClass)
Returns an AccessLevelBeanInfo for the BeanInfo class, implementing the logic of how to handle implicit properties. |
static java.beans.PropertyEditor |
findEditor(java.lang.Class propertyClass)
|
static java.beans.BeanInfo |
getBeanInfo(java.lang.Class c)
|
static java.beans.PropertyEditor |
getEditor(java.beans.PropertyDescriptor pd)
One-stop place to get the editor for the given propertyDescriptor. |
static java.beans.PropertyDescriptor[] |
getPropertyDescriptors(java.lang.Class c)
Use reflection to get a list of all the property names for the class. |
static java.lang.String[] |
getPropertyNames(java.lang.Class c)
Use reflection to get a list of all the property names for the class. |
static java.lang.String[] |
getPropertyNames(java.beans.PropertyDescriptor[] propertyList)
|
static void |
registerEditor(java.lang.Class beanClass,
java.lang.Class editorClass)
see BeanBindingDemo2.java |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeansUtil()
| Method Detail |
|---|
public static void registerEditor(java.lang.Class beanClass,
java.lang.Class editorClass)
public static java.beans.PropertyEditor findEditor(java.lang.Class propertyClass)
public static java.beans.PropertyEditor getEditor(java.beans.PropertyDescriptor pd)
public static java.beans.PropertyDescriptor[] getPropertyDescriptors(java.lang.Class c)
public static java.beans.BeanInfo getBeanInfo(java.lang.Class c)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic static java.lang.String[] getPropertyNames(java.beans.PropertyDescriptor[] propertyList)
public static java.lang.String[] getPropertyNames(java.lang.Class c)
public static AccessLevelBeanInfo asAccessLevelBeanInfo(java.beans.BeanInfo beanInfo,
java.lang.Class beanClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||